Skip to content

Commit

Permalink
Switch to other action for uploading to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfcmf committed Jul 30, 2020
1 parent 6e2e538 commit 94ba60d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ jobs:
touch build/.nojekyll
- name: Upload to GitHub Pages
if: github.ref == 'refs/heads/master'
uses: peaceiris/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./docs/build
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
emptyCommits: false
keepFiles: false
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build
CLEAN: true
SINGLE_COMMIT: true
GIT_CONFIG_NAME: GitHub Actions
GIT_CONFIG_EMAIL: [email protected]

0 comments on commit 94ba60d

Please sign in to comment.