Skip to content

👷 use a maintained rust tool chain gh action installer #6

👷 use a maintained rust tool chain gh action installer

👷 use a maintained rust tool chain gh action installer #6

name: deploy-gh-page
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Install trunk
uses: jetli/[email protected]
with:
version: "v0.18.3"
- name: Build
run: trunk build --release
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist