image: alpine/edge oauth: pages.sr.ht/PAGES:RW sources: - 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 - hut - git environment: site: xrvs.net tasks: - patch: | cd fead git apply ../$site/fead.patch - 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: | hut pages publish -d $site dotnet.tar.gz artifacts: - dotgeek.tar.gz