Skip to content

Commit

Permalink
feat: trigger naarad deployment on docker release
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jul 1, 2024
1 parent ae1c5a5 commit 5c23d2c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/dockerhub-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,13 @@ jobs:
run: |
rm -rf /tmp/.buildx-cache-naarad-ntfy
mv /tmp/.buildx-cache-naarad-ntfy-new /tmp/.buildx-cache-naarad-ntfy
- name: Trigger Deployment of Naarad and Naarad API on Server
env:
GH_PAT: ${{ secrets.GH_PAT }}
run: |
curl -k -X POST \
-H "Authorization: token $GH_PAT" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/metakgp/naarad/dispatches \
-d '{"event_type":"trigger_naarad_deployment"}'

0 comments on commit 5c23d2c

Please sign in to comment.