install mermaid-filter #163
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: GHPages | |
| on: | |
| push: | |
| branches: [master] | |
| jobs: | |
| deploy-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| - uses: docker://pandoc/latex:2.9 | |
| with: | |
| args: | | |
| sh -c " | |
| apk add --no-cache nodejs npm \ | |
| && npm install -g mermaid-filter \ | |
| && sh build-resources-with-pandoc.sh | |
| " | |
| - name: Install Packages | |
| run: | | |
| npm i -f | |
| - name: Build all | |
| run: | | |
| npm run build | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs | |
| force_orphan: true |