image: debian/bullseye oauth: pages.sr.ht/PAGES:RW packages: - golang - hugo environment: site: huyngo.srht.site tasks: - install: | git clone https://git.sr.ht/~sircmpwn/openring cd openring go build -o openring sudo cp openring /usr/local/bin/ - package: | cd $site ./create-webring.sh hugo cd public tar -cvz . > ../../site.tar.gz - upload: | acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz