We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eb57b38 + 36333ba commit c0d41a1Copy full SHA for c0d41a1
1 file changed
.github/workflows/gh-pages.yml
@@ -22,10 +22,11 @@ jobs:
22
- name: Build
23
run: npm run build
24
- name: Publish docs
25
- if: github.ref == 'refs/heads/master'
26
- env:
27
- GIT_PUBLISH_URL: https://${{ secrets.GH_PUBLISH_CREDS }}@github.com/Kitware/react-vtk-js.git
28
- run: |
29
- git config --global user.name "Github Actions"
30
- git config --global user.email "sebastien.jourdain@kitware.com"
31
- npm run deploy
+ uses: peaceiris/actions-gh-pages@v3
+ if: ${{ github.ref == 'refs/heads/master' }}
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./usage/dist
+ user_name: 'Github Actions'
+ user_email: 'sebastien.jourdain@kitware.com'
32
+ commit_message: ${{ github.event.head_commit.message }}
0 commit comments