Skip to content

Bump wasm-bindgen from 0.2.90 to 0.2.91 (#29) #26

Bump wasm-bindgen from 0.2.90 to 0.2.91 (#29)

Bump wasm-bindgen from 0.2.90 to 0.2.91 (#29) #26

Workflow file for this run

name: Doc
on:
push:
branches:
- master
jobs:
# We will also build the demo as part of the docs
Doc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build Documentation
run: cargo doc --all --no-deps
- name: Setup Demo build
run: make setup-wasm-demo
- name: Build Demo
run: make build-wasm-demo NODE_ENV=production
- run: cp -R ./popcap-pak-wasm/demo/dist/ ./target/doc/
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true