We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30d47ef commit cdc970eCopy full SHA for cdc970e
.github/workflows/pages.yml
@@ -80,10 +80,8 @@ jobs:
80
- name: Deploy to GitHub Pages
81
id: deployment
82
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
+ - name: Deploy
+ uses: peaceiris/actions-gh-pages@v4
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_branch: gh-pages # default: gh-pages
0 commit comments