image: alpine/edge oauth: pages.sr.ht/PAGES:RW packages: - hut - rsync secrets: - 4c5cebdb-c744-4dfb-a69a-30b9bdfe048c sources: - https://git.sr.ht/~adamski/adast.dk - https://git.btxx.org/smu environment: deploy: srht@adast.dk mirror: mirror.adast.dk tasks: - smu: | cd smu sudo make install - package: | cd adast.dk make build tar -C build -cvz . > ../site.tar.gz - upload: | sshopts="ssh -o StrictHostKeyChecking=no" rsync --rsh="$sshopts" -ruz adast.dk/build/ $deploy:/var/www/adast.dk hut pages publish -d $mirror site.tar.gz