Skip to content

Commit a670e5c

Browse files
committed
use PAT
1 parent 049b024 commit a670e5c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/jekyll.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ jobs:
4545
- name: Deploy
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
PAT: ${{ secrets.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 }}
4849
run: |
49-
git config --global user.name "GitHub Actions"
50-
git config --global user.email "actions@github.com"
50+
git config --global user.name "github-actions[bot]"
51+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
52+
git remote set-url origin https://x-access-token:${PAT}@github.com/QuickImageComment/QuickImageComment.github.io.git
5153
git add .
5254
git commit -m "Deploy site"
53-
git push
54-
# Deployment job
55+
git push origin HEAD:main

0 commit comments

Comments
 (0)