Skip to content

Merge pull request #47 from KrzysztofKarol/feature/next-15-2 #54

Merge pull request #47 from KrzysztofKarol/feature/next-15-2

Merge pull request #47 from KrzysztofKarol/feature/next-15-2 #54

Workflow file for this run

name: docs
on:
push:
branches:
- main
paths:
- "docs/**"
- ".github/workflows/docs.yml"
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: RustUp
run: rustup target add wasm32-wasip1
- run: npm install
- run: (cd docs && npm install)
- run: npm run prepublishOnly
env:
CI: true
- run: npm run docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/out