Skip to content

Commit

Permalink
Add a trigger for updating the repo.chia.net repo (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Oct 2, 2023
1 parent 316b94b commit 39904bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/hw-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,9 @@ jobs:
gh release upload \
$RELEASE_TAG \
dist/${{ env.DEB_NAME }}
- name: Trigger repo update
if: env.RELEASE == 'true'
run: |
curl -s -XPOST -H "Authorization: Bearer ${{ secrets.GLUE_ACCESS_TOKEN }}" --data '{"release_version":"${{ env.RELEASE_TAG }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/chiavdf-hw/${{ env.RELEASE_TAG }}/start
curl -s -XPOST -H "Authorization: Bearer ${{ secrets.GLUE_ACCESS_TOKEN }}" --data '{"release_version":"${{ env.RELEASE_TAG }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/chiavdf-hw/${{ env.RELEASE_TAG }}/success/release_hw

0 comments on commit 39904bf

Please sign in to comment.