Updated deploy-docs github action (#4)
This commit is contained in:
parent
979c51a3ca
commit
d7c7fecd61
|
@ -3,22 +3,30 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-docs:
|
build-docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
submodules: true
|
||||||
target: wasm32-unknown-unknown
|
|
||||||
|
- name: Select rust version
|
||||||
|
run: |
|
||||||
|
rustup toolchain install 1.70 --profile minimal --no-self-update
|
||||||
|
rustup default 1.70
|
||||||
|
rustup target add wasm32-unknown-unknown
|
||||||
|
|
||||||
- uses: jetli/wasm-bindgen-action@v0.2.0
|
- uses: jetli/wasm-bindgen-action@v0.2.0
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
Loading…
Reference in New Issue