Merge pull request #568 from ohno418/minor-indent-fix #205
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: Deploy to GH Pages | |
on: | |
push: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build WASM | |
run: | | |
rustup target add wasm32-unknown-unknown | |
sh build-wasm.sh | |
- name: Install and Build Vuepress | |
run: | | |
export NODE_OPTIONS=--openssl-legacy-provider | |
yarn install | |
yarn just-build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs/.vuepress/dist |