Merge pull request #9 from webraa/webraa-patch-2 #15
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: to-pages | |
on: | |
push: | |
branches: | |
- main | |
- release | |
permissions: | |
contents: write | |
jobs: | |
make-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clone | |
uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 # get rust toolchain for wasm | |
with: | |
profile: minimal | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Rust Cache # cache the rust build artefacts | |
uses: Swatinem/rust-cache@v1 | |
- name: Build | |
run : | | |
make configure | |
make test | |
make bindgen.wasm | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: dist | |
single-commit: true | |
# EOF |