Skip to content

Merge pull request #74 from robinst/fix-codecov #61

Merge pull request #74 from robinst/fix-codecov

Merge pull request #74 from robinst/fix-codecov #61

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