build(deps): bump proc-macro2 from 1.0.78 to 1.0.79 (#1335) #127
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: Docs | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
release: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Rust Setup | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly-2024-01-22 | |
target: wasm32-unknown-unknown | |
override: true | |
components: rust-docs | |
- name: Install protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build website | |
run: | | |
cd docs | |
yarn install | |
yarn run build | |
- name: Build rustdocs | |
uses: actions-rs/cargo@v1 | |
with: | |
command: doc | |
args: --all --no-deps | |
- name: Copy rustdocs | |
run: | | |
cp -r ./target/doc docs/.vuepress/dist/rustdocs | |
- name: Deploy documentation | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_branch: gh-pages | |
publish_dir: ./docs/.vuepress/dist | |
keep_files: true |