Skip to content

Commit

Permalink
Updated deploy-docs github action (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
transistorfet authored Mar 17, 2024
1 parent 979c51a commit d7c7fec
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,30 @@ on:
push:
branches:
- main

permissions:
contents: read
pages: write
id-token: write

jobs:
build-docs:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
with:
toolchain: stable
target: wasm32-unknown-unknown
submodules: true

- 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

- name: Install dependencies
Expand Down

0 comments on commit d7c7fec

Please sign in to comment.