Skip to content

Commit

Permalink
Add token to GitHub's checkout step in deploy workflow
Browse files Browse the repository at this point in the history
This commit adds a GitHub personal access token to the checkout step in the deploy workflow. This allows the workflow to perform actions with the same permissions as the user associated with the token.
  • Loading branch information
timam committed May 16, 2024
1 parent 9b7ab55 commit d6a4818
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Git Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down

0 comments on commit d6a4818

Please sign in to comment.