Skip to content

Commit 85295d0

Browse files
committed
add deployment dispatch
1 parent 553b69b commit 85295d0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-and-push.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ jobs:
6262
curl -X POST \
6363
-H "Authorization: token ${{ secrets.INFRA_REPO_TOKEN }}" \
6464
-H "Accept: application/vnd.github.v3+json" \
65-
https://api.github.com/repos/${{ secrets.INFRA_REPO_OWNER }}/${{ secrets.INFRA_REPO_NAME }}/dispatches \
66-
-d '{"event_type":"deploy-frontend-staging","client_payload":{"image_tag":"${{ steps.meta.outputs.version }}"}}'
67-
65+
https://api.github.com/repos/opskraken/nesohq-infra/dispatches \
66+
-d '{"event_type":"deploy-staging"}'
6867
- name: 🎉 Deployment triggered
6968
if: success() && github.ref == 'refs/heads/main'
7069
run: |

0 commit comments

Comments
 (0)