Skip to content

Commit

Permalink
Try PAT token
Browse files Browse the repository at this point in the history
  • Loading branch information
berrydenhartog committed Jun 14, 2024
1 parent 0c27765 commit c015ff1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,14 @@ jobs:
- uses: actions/checkout@v4
with:
repository: 'minbzk/ai-validation-infra'
ssh-key: ${{ secrets.DEPLOY_KEY }}
# ssh-key: ${{ secrets.DEPLOY_KEY }}
ref: main
token: ${{ secrets.GH_PAT }}

- name: Configure Git
run: |
git config --global user.name "berrydenhartog"
git config --global user.email "38954346+berrydenhartog@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Setup SSH
run: |
Expand All @@ -97,6 +98,8 @@ jobs:
run: |
git commit -m "Update tad overlay ${{ steps.get_deploy_env.outputs.env }} tag ${{ steps.get_package_hash.outputs.container_id }} by actor ${{ github.actor}}"
git push
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

- name: remove ssh key
if: always()
Expand Down

0 comments on commit c015ff1

Please sign in to comment.