Skip to content

Commit

Permalink
Use separate token for deploy trigger webhook (#2505)
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-low authored Dec 18, 2024
1 parent c8fb6f5 commit 82dd106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
steps:
- name: Send trigger-workflow webhook to maproulette-deploy repository
run: |
curl -L \
curl -L --fail \
-X POST \
https://api.github.com/repos/maproulette/maproulette-deploy/dispatches \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Authorization: Bearer ${{ secrets.DEPLOY_REPO_TOKEN }}" \
-d '{ "event_type": "trigger-workflow" }'

0 comments on commit 82dd106

Please sign in to comment.