Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
spisakt committed Nov 29, 2023
2 parents a9c58b0 + a26b06c commit 7a69cd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/myst-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: MyST GitHub Pages Deploy
on:
push:
# Runs on pushes targeting the default branch
branches: [master]
branches: [main]
env:
BASE_URL: /${{ github.event.repository.name }}

Expand Down Expand Up @@ -37,21 +37,21 @@ jobs:
run: npm install -g mystmd
- name: Manually download docx template
run: |
cd docs
cd manuscript
wget https://github.com/myst-templates/docx_default/archive/refs/heads/main.zip
mkdir -p _build/templates/docx/myst/default
unzip main.zip -d _build/templates/docx/myst/default
cp _build/templates/docx/myst/default/docx_default-main/styles.xml _build/templates/docx/myst/default/styles.xml
- name: Build HTML Assets
run: |
cd docs
cd manuscript
myst build --docx
myst build --pdf
myst build --html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './docs/_build/html'
path: './manuscript/_build/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 7a69cd8

Please sign in to comment.