Skip to content

Commit

Permalink
change github token to pat
Browse files Browse the repository at this point in the history
  • Loading branch information
HarriPra committed Mar 18, 2024
1 parent 74318c3 commit 1c02e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cross-repo-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:

- name: Test GitHub Token
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
curl -H "Authorization: token $PAT" \
https://api.github.com/repos/${{ github.repository }}
- name: Trigger deployment in another repo
uses: ./.github/actions/repo-dispatch
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.PAT }}
target-repository: UKHSA-Internal/hpod-ukhsa-generate-webform-url-citizen
event-type: trigger-deployment # This is a custom event type we listen for in deployment.yml
clientPayload: '{"ref": "main"}'

0 comments on commit 1c02e42

Please sign in to comment.