image: alpine/latest packages: - npm oauth: pages.sr.ht/PAGES:RW environment: site: "dekker.one" NEXT_PUBLIC_SITE_URL: "https://dekker.one" tasks: - package: | cd $site npm install npm run build tar -C out -cvz . > ../site.tar.gz - upload: | acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz