diff --git a/.github/workflows/myst-gh-pages.yml b/.github/workflows/myst-gh-pages.yml index aef6085..243ac5a 100644 --- a/.github/workflows/myst-gh-pages.yml +++ b/.github/workflows/myst-gh-pages.yml @@ -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 }} @@ -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