Skip to content

Update GHPages.yml #170

Update GHPages.yml

Update GHPages.yml #170

Workflow file for this run

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 update \
&& apk add --no-cache curl bash python3 \
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash \
&& source ~/.nvm/nvm.sh \
&& nvm install --lts \
&& 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