File tree 1 file changed +7
-11
lines changed
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
2
2
on :
3
3
push :
4
4
branches : [myst_build]
5
- env :
6
- BASE_URL : /${{ github.event.repository.name }}
5
+ # env:
6
+ # BASE_URL: /${{ github.event.repository.name }}
7
7
8
8
permissions :
9
9
contents : read
51
51
uses : actions/upload-pages-artifact@v3
52
52
with :
53
53
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
56
56
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