Merge pull request #79 from GnomedDev/fix-warnings #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |