~emersion/mrsh

22e9d83d413523e8b41c8319adb1e94fc8596965 — Drew DeVault 3 months ago 819e049
Remove annotate.yml

git.sr.ht annotations are deprecated
1 files changed, 0 insertions(+), 24 deletions(-)

D .builds/annotate.yml
D .builds/annotate.yml => .builds/annotate.yml +0 -24
@@ 1,24 0,0 @@
image: archlinux
packages:
  - mrsh-git
  - annotatesh-git
sources:
  - https://git.sr.ht/~emersion/mrsh
secrets:
  - a00689d3-2a09-4e1b-a5f9-83d1082f1704
tasks:
  - annotatesh: |
      cd mrsh
      annotatesh-git >annotations.json
  - upload: |
      cd mrsh
      set +x # hide secrets
      oauth_token="$(cat ~/.annotate-token)"
      owner='~emersion'
      repo='mrsh'
      curl -X PUT \
        -H "Authorization: token $oauth_token" \
        -H "Content-Type: application/json" \
        -d @annotations.json \
        https://git.sr.ht/api/"$owner"/repos/"$repo"/annotate