Skip to content

#[allow(missing_docs)] を #[expect(missing_docs)] に置き換える #203

#[allow(missing_docs)] を #[expect(missing_docs)] に置き換える

#[allow(missing_docs)] を #[expect(missing_docs)] に置き換える #203

Workflow file for this run

name: GitHub Pages Deploy
# Controls when the workflow will run
on:
push:
branches: [ "develop" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- run: rustup update stable
- run: rustup target add wasm32-unknown-unknown
- run: cargo build --release --target wasm32-unknown-unknown -p dump_wasm -p transcode_wasm
- name: Prepare static files
run: |
mkdir -p _site/examples/dump/
cp examples/dump_wasm/index.html _site/examples/dump/
cp target/wasm32-unknown-unknown/release/dump_wasm.wasm _site/examples/dump/
mkdir -p _site/examples/transcode/
cp examples/transcode_wasm/index.html _site/examples/transcode/
cp examples/transcode_wasm/transcode.js _site/examples/transcode/
cp target/wasm32-unknown-unknown/release/transcode_wasm.wasm _site/examples/transcode/
- name: Upload files
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0