Skip to content

Commit

Permalink
Use github-glue Action to make requests to glue
Browse files Browse the repository at this point in the history
  • Loading branch information
Starttoaster authored Sep 21, 2024
1 parent 4443020 commit 073cbb8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,10 @@ jobs:
$TAG_NAME \
artifacts/installer-chia-healthcheck*/*.deb
- uses: Chia-Network/actions/github/jwt@main

- name: Trigger apt repo update
run: |
curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{"release_version":"${{ steps.tag-name.outputs.TAG_NAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/chia-healthcheck/${{ github.sha }}/start
curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{"release_version":"${{ steps.tag-name.outputs.TAG_NAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/chia-healthcheck/${{ github.sha }}/success/deploy
uses: Chia-Network/actions/github/glue@main
with:
json_data: '{"release_version":"${{ steps.tag-name.outputs.TAG_NAME }}"}'
glue_url: ${{ secrets.GLUE_API_URL }}
glue_project: "chia-healthcheck"
glue_path: "trigger"

0 comments on commit 073cbb8

Please sign in to comment.