File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed
Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -27,31 +27,22 @@ jobs:
2727 - name : Setup Pages
2828 uses : actions/configure-pages@v3
2929 - uses : actions/setup-node@v3
30- with :
31- node-version : 18.x
32- - name : Install dependencies
33- run : |
34- sudo apt-get update
35- sudo apt-get install texlive-xetex latexmk libpng-dev libjpeg-dev libtiff-dev imagemagick -y
30+ # with:
31+ # node-version: 18.x
32+ - name : Install image converters
33+ run : sudo apt-get update; sudo apt-get install imagemagick inkscape webp
3634 - name : Install MyST Markdown
37- run : npm install -g mystmd
38- - name : Manually download docx template
3935 run : |
40- cd docs
41- wget https://github.com/myst-templates/docx_default/archive/refs/heads/main.zip
42- mkdir -p _build/templates/docx/myst/default
43- unzip main.zip -d _build/templates/docx/myst/default
44- cp _build/templates/docx/myst/default/docx_default-main/styles.xml _build/templates/docx/myst/default/styles.xml
36+ npm install -g mystmd
37+ myst --version
4538 - name : Build HTML Assets
4639 run : |
4740 cd docs
48- myst build --docx
49- myst build --pdf
5041 myst build --html
5142 - name : Upload artifact
52- uses : actions/upload-pages-artifact@v1
43+ uses : actions/upload-pages-artifact@v3
5344 with :
5445 path : ' ./docs/_build/html'
5546 - name : Deploy to GitHub Pages
5647 id : deployment
57- uses : actions/deploy-pages@v2
48+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments