image: alpine/edge oauth: pages.sr.ht/PAGES:RW packages: - hut - hugo environment: site: gitnick.srht.site tasks: - generate: | python3 $site/generate.py - package_website: | cd $site/website tar -cvz . > ../../site.tar.gz - package_capsule: | cd $site/capsule tar -cvz . > ../../capsule.tar.gz - upload_website: | hut pages publish -d $site site.tar.gz - upload_capsule: | hut pages publish -d $site -p GEMINI capsule.tar.gz