Skip to content

Commit 94ba60d

Browse files
committed
Switch to other action for uploading to GitHub pages
1 parent 6e2e538 commit 94ba60d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/main.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ jobs:
2222
touch build/.nojekyll
2323
- name: Upload to GitHub Pages
2424
if: github.ref == 'refs/heads/master'
25-
uses: peaceiris/[email protected]
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
28-
PUBLISH_BRANCH: gh-pages
29-
PUBLISH_DIR: ./docs/build
25+
uses: JamesIves/github-pages-deploy-action@releases/v3
3026
with:
31-
emptyCommits: false
32-
keepFiles: false
27+
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+
BRANCH: gh-pages
29+
FOLDER: docs/build
30+
CLEAN: true
31+
SINGLE_COMMIT: true
32+
GIT_CONFIG_NAME: GitHub Actions
33+
GIT_CONFIG_EMAIL: [email protected]

0 commit comments

Comments
 (0)