Skip to content

Commit

Permalink
ci(npcs): update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaosen7 committed Jul 30, 2024
1 parent 868d4b3 commit 623c922
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
echo "Docker Image digest: ${{ steps.docker_build.outputs.digest }}"
echo "Docker Image metadata: ${{ steps.docker_build.outputs.metadata }}"
- name: Trigger Deploy
if: github.ref == 'refs/heads/main'
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}"\
https://api.github.com/repos/${{ github.repository }}/dispatches \
-d "{\"event_type\":\"deploy\",\"client_payload\":{\"app\":\"${{ matrix.app-dir }}\"}}"
- name: Trigger Deploy
if: github.ref == 'refs/heads/main'
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}"\
https://api.github.com/repos/${{ github.repository }}/dispatches \
-d "{\"event_type\":\"deploy\",\"client_payload\":{\"app\":\"${{ matrix.app-dir }}\"}}"

0 comments on commit 623c922

Please sign in to comment.