Create githubpages.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Github Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dioxus Deploy | |
uses: DioxusLabs/[email protected] | |
with: | |
# dioxus-cli install repo [default: 'DioxusLabs/cli'] | |
toolSource: DioxusLabs/cli | |
# Build projects using different modes [default: 'release'] | |
buildMode: release | |
# Build projects using a different rust toolchain [default: 'stable'] | |
toolchain: stable | |
# The `out_dir` property configured in Dioxus.toml [default: 'dist'] | |
outDirectory: dist | |
# Source code root path [default: '.'] | |
rootPath: . |