diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fecba8e2..7dd6813f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -301,10 +301,10 @@ jobs: cadt-linux-x64-deb/*.deb cadt-linux-arm64-deb/*.deb - - name: Gets JWT Token from GitHub - uses: Chia-Network/actions/github/jwt@main - - name: Trigger apt repo update - run: | - curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{"cadt_repo":"cadt","release_version":"${{ steps.tag-name.outputs.TAGNAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/cadt/${{ github.sha }}/start - curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{"cadt_repo":"cadt","release_version":"${{ steps.tag-name.outputs.TAGNAME }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/cadt/${{ github.sha }}/success/deploy + uses: Chia-Network/actions/github/glue@main + with: + json_data: '{"cadt_repo":"cadt","release_version":"${{ steps.tag-name.outputs.TAGNAME }}"}' + glue_url: ${{ secrets.GLUE_API_URL }} + glue_project: "cadt" + glue_path: "trigger"