mirror of https://git.sr.ht/~rabbits/nasu
3 changed files with 24 additions and 3 deletions
@ -0,0 +1,21 @@
|
||||
image: debian/stable |
||||
oauth: pages.sr.ht/PAGES:RW |
||||
environment: |
||||
SITE: rabbits.srht.site/dexe |
||||
sources: |
||||
- https://git.sr.ht/~rabbits/dexe |
||||
tasks: |
||||
- prepare: | |
||||
curl -fsS https://rabbits.srht.site/uxn/uxn-linux-amd64.tar.gz | tar -zx |
||||
- build: | |
||||
cd dexe |
||||
../uxn/uxnasm src/main.tal ../dexe.rom |
||||
- upload: | |
||||
tar -czf out.tar.gz dexe.rom |
||||
acurl() { |
||||
set +x |
||||
curl -H "Authorization: Bearer ${OAUTH2_TOKEN}" "${@}" |
||||
set -x |
||||
} |
||||
acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz |
||||
acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz -Fprotocol=GEMINI |
||||
Loading…
Reference in new issue