Skip to content

Commit acba838

Browse files
authored
Update jekyll.yml
1 parent 049b024 commit acba838

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/jekyll.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,14 @@ jobs:
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
run: |
49-
git config --global user.name "GitHub Actions"
50-
git config --global user.email "actions@github.com"
49+
git config --global user.name "github-actions[bot]"
50+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
51+
git remote set-url origin https://x-access-token:${PAT}@github.com/QuickImageComment/QuickImageComment.github.io.git
5152
git add .
5253
git commit -m "Deploy site"
53-
git push
54-
# Deployment job
54+
- name: Push changes
55+
uses: ad-m/github-push-action@v0.6.0
56+
with:
57+
github_token: ${{ secrets.GITHUB_TOKEN }}
58+
branch: main
59+
force: true

0 commit comments

Comments
 (0)