Skip to content

Commit 30d47ef

Browse files
authored
Update pages.yml
1 parent 074c049 commit 30d47ef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pages.yml

+11
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,17 @@ jobs:
7373
runs-on: ubuntu-latest
7474
needs: build
7575
steps:
76+
- name: Checkout
77+
uses: actions/checkout@v3
78+
with:
79+
fetch-depth: 0
7680
- name: Deploy to GitHub Pages
7781
id: deployment
7882
uses: actions/deploy-pages@v2
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 .
88+
git commit -m 'Deploy to gh_pages branch'
89+
git push origin HEAD:gh_pages

0 commit comments

Comments
 (0)