Skip to content

Commit

Permalink
Merge pull request #155 from Chia-Network/glue
Browse files Browse the repository at this point in the history
Use Glue action
  • Loading branch information
Starttoaster authored Apr 20, 2024
2 parents 803d1ea + be2c5bf commit 6f2c283
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ jobs:
$RELEASE_TAG \
artifacts/installer-chia-exporter*/*.deb
- uses: Chia-Network/actions/github/jwt@main

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

0 comments on commit 6f2c283

Please sign in to comment.