Skip to content

🚀 make github page work #4

🚀 make github page work

🚀 make github page work #4

name: deploy-gh-page
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
override: true
profile: minimal
- name: Install trunk
uses: jetli/trunk-action@v0.4.0
with:
version: "v0.17.5"
- name: Build
run: trunk build --release
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist