tekuti-el/.build/readme.yml
Tom Willemse ba5d9c29f3 Set up automated builds on Sourcehut
This builds both a package archive and the readme.
2022-03-23 19:05:29 -07:00

20 lines
502 B
YAML

image: alpine/latest
packages:
- make
- emacs-nox
secrets:
- 71a00305-bdc9-4108-84a0-2d42d5f824d6
tasks:
- build: |
cd tekuti-el
make README.html
- readme: |
cd tekuti-el
set +x
curl --fail-with-body \
-H "Content-Type: text/html" \
-H "Authorization: Bearer $(cat ~/.pcomplete-p4-auth)" \
-XPUT \
--data-binary @README.html \
'https://git.sr.ht/api/repos/tekuti-el/readme' \
&& echo "README set"