Skip to content

Commit d7c7fec

Browse files
Updated deploy-docs github action (#4)
1 parent 979c51a commit d7c7fec

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/deploy-docs.yaml

+12-4
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,30 @@ on:
33
push:
44
branches:
55
- main
6+
67
permissions:
78
contents: read
89
pages: write
910
id-token: write
11+
1012
jobs:
1113
build-docs:
1214
runs-on: ubuntu-latest
1315
environment:
1416
name: github-pages
1517
url: ${{ steps.deployment.outputs.page_url }}
18+
1619
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions-rs/toolchain@v1
20+
- uses: actions/checkout@v4
1921
with:
20-
toolchain: stable
21-
target: wasm32-unknown-unknown
22+
submodules: true
23+
24+
- name: Select rust version
25+
run: |
26+
rustup toolchain install 1.70 --profile minimal --no-self-update
27+
rustup default 1.70
28+
rustup target add wasm32-unknown-unknown
29+
2230
- uses: jetli/wasm-bindgen-action@v0.2.0
2331

2432
- name: Install dependencies

0 commit comments

Comments
 (0)