image: alpine/edge 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 - https://git.sr.ht/~huyngo/djanzi - https://git.sr.ht/~huyngo/web-cv - https://git.sr.ht/~cnx/fead packages: - hugo - mdbook environment: site: xrvs.net tasks: - build: | for conlang in haasdaiga ravna isanercent djanzi; do cd $conlang mdbook build cd .. done cd $site ./create-webring.sh hugo --baseURL="https://xrvs.net" mv public dotnet hugo --baseURL="http://xrvs.geek" mv public dotgeek - package: | for conlang in haasdaiga ravna isanercent djanzi; do cp -r "$conlang/book" "$site/dotnet/$conlang" cp -r "$conlang/book" "$site/dotgeek/$conlang" done cp -r web-cv "$site/dotnet/cv" cp -r web-cv "$site/dotgeek/cv" cd "$site/dotnet" tar -cvz . > ../../dotnet.tar.gz cd ../dotgeek tar -cvz . > ../../dotgeek.tar.gz - upload: | acurl -f https://pages.sr.ht/publish/$site -Fcontent=@dotnet.tar.gz artifacts: - dotgeek.tar.gz