Skip to content

Merge pull request #189 from podusowski/trying-to-fix-pages #123

Merge pull request #189 from podusowski/trying-to-fix-pages

Merge pull request #189 from podusowski/trying-to-fix-pages #123

Workflow file for this run

name: Github Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
target: wasm32-unknown-unknown
- name: Install Trunk
run: cargo install trunk@0.20.3
- name: Build
run: env -C demo_web trunk build --release --public-url "${GITHUB_REPOSITORY#*/}"
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: demo_web/dist
single-commit: true