Skip to content

Commit 4fd08e9

Browse files
committed
fix CI
1 parent ba7564a commit 4fd08e9

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/myst_ci.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: MyST GitHub Pages Deploy
22
on:
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

88
permissions:
99
contents: read
@@ -51,13 +51,9 @@ jobs:
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

0 commit comments

Comments
 (0)