tekuti-el/.build
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
..
pages.yml Set up automated builds on Sourcehut 2022-03-23 19:05:29 -07:00
readme.yml Set up automated builds on Sourcehut 2022-03-23 19:05:29 -07:00

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"