File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: MyST GitHub Pages Deploy
22on :
33 push :
44 branches : [myst_build]
5- env :
6- BASE_URL : /${{ github.event.repository.name }}
5+ # env:
6+ # BASE_URL: /${{ github.event.repository.name }}
77
88permissions :
99 contents : read
5151 uses : actions/upload-pages-artifact@v3
5252 with :
5353 path : ' ./lectures/_build/html'
54- - name : Preview Deploy to Netlify
55- uses : nwtgck /actions-netlify @v3
54+ - name : Deploy to gh-pages
55+ uses : peaceiris /actions-gh-pages @v3
5656 with :
57- publish-dir : ' ./lectures/_build/html'
58- production-branch : main
59- github-token : ${{ secrets.GITHUB_TOKEN }}
60- deploy-message : " Preview Deploy from GitHub Actions"
61- env :
62- NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
63- NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
57+ github_token : ${{ secrets.GITHUB_TOKEN }}
58+ publish_dir : ./lectures/_build/html
59+ # publish_branch: myst-build-test
You can’t perform that action at this time.
0 commit comments