Skip to content

Change base_path

Change base_path #6

Workflow file for this run

name: deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
profile: minimal
target: wasm32-unknown-unknown
override: true
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
with:
prefix-key: v0-rust
cache-targets: true
- name: Install cargo-binstall
uses: taiki-e/install-action@v2
with:
tool: cargo-binstall
- name: Install Dioxus CLI
run: cargo binstall dioxus-cli@0.6.3 --no-confirm --force
- name: Build web bundle
working-directory: app_dx
run: |
dx bundle --release --platform web
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: app_dx/dist/public
clean: false