Skip to content

Merge pull request #83 from robinst/dependabot/npm_and_yarn/demo/http… #68

Merge pull request #83 from robinst/dependabot/npm_and_yarn/demo/http…

Merge pull request #83 from robinst/dependabot/npm_and_yarn/demo/http… #68

Workflow file for this run

name: gh-pages
on:
push:
branches:
- main
jobs:
demo:
name: wasm demo
runs-on: ubuntu-latest
defaults:
run:
working-directory: demo
steps:
- uses: actions/checkout@v4
# Waiting for new wasm-bindgen release to run with newer rust:
# https://github.com/rustwasm/wasm-bindgen/issues/4211
- uses: dtolnay/rust-toolchain@1.81
- run: yarn
- run: yarn build
- name: Deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: demo/dist
CLEAN: true