image: alpine/latest oauth: pages.sr.ht/PAGES:RW sources: - https://git.sr.ht/~sircmpwn/openring - https://git.envs.net/huyngo/haasdaiga - https://git.envs.net/huyngo/ravna - https://git.sr.ht/~huyngo/isanercent packages: - openring - hugo - mdbook environment: site: xrvs.net tasks: - build: | for conlang in haasdaiga ravna isanercent; do cd $conlang mdbook build cd .. done cd $site ./create-webring.sh hugo --baseURL="https://xrvs.net" - package: | for conlang in haasdaiga ravna isanercent; do mv "$conlang/book" "$site/public/$conlang" done cd "$site/public" tar -cvz . > ../../site.tar.gz - upload: | acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz