Skip to content

Commit 98a66b6

Browse files
authored
Update pages.yml
1 parent cdc970e commit 98a66b6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/pages.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ jobs:
8080
- name: Deploy to GitHub Pages
8181
id: deployment
8282
uses: actions/deploy-pages@v2
83-
- name: Deploy
84-
uses: peaceiris/actions-gh-pages@v4
85-
with:
86-
github_token: ${{ secrets.GITHUB_TOKEN }}
87-
publish_branch: gh-pages # default: gh-pages
83+
- name: Push to gh_pages branch
84+
run: |
85+
git config --global user.name 'github-actions[bot]'
86+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
87+
git add public/*
88+
git commit -m 'Deploy to gh_pages branch'
89+
git push origin HEAD:gh_pages

0 commit comments

Comments
 (0)