Skip to content

Merge pull request #70 from robinst/dependabot/npm_and_yarn/demo/foll… #59

Merge pull request #70 from robinst/dependabot/npm_and_yarn/demo/foll…

Merge pull request #70 from robinst/dependabot/npm_and_yarn/demo/foll… #59

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:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: yarn
run: yarn
- name: yarn build
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