.build.yml (457B) [raw]
1 # srht.site build 2 image: openbsd/latest 3 oauth: pages.sr.ht/PAGES:RW 4 sources: 5 - https://git.sr.ht/~akarle/nihdoc 6 environment: 7 site: akarle.srht.site 8 tasks: 9 - package: | 10 make -C nihdoc 11 env PATH="$PWD/nihdoc:$PATH" make -C alexkarle.com 12 cd alexkarle.com/www && tar -cvhzf ../../site.tar.gz . 13 - upload: | 14 acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz 15 triggers: 16 - action: email 17 condition: failure 18 to: ci@alexkarle.com