Skip to content

Commit

Permalink
Update myst-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
spisakt authored Nov 24, 2023
1 parent ff9f0dc commit a26b06c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/myst-gh-pages.yml
Original file line number Diff line number Diff line change
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 a26b06c

Please sign in to comment.