File tree Expand file tree Collapse file tree 8 files changed +2349
-1041
lines changed
Expand file tree Collapse file tree 8 files changed +2349
-1041
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ permissions :
8+ contents : write
79
810jobs :
9- build-deploy :
11+ build-and- deploy :
1012 runs-on : ubuntu-latest
1113 steps :
12- - name : " Dioxus Deploy"
13- uses : DioxusLabs/deploy-action@4f933485ec8f37a9dc1beec181f4eba58789523e
14+ - name : Checkout 🛎️
15+ uses : actions/checkout@v5
16+
17+ - name : Rust Setup 🦀
18+ uses :
actions-rs/[email protected] 19+ with :
20+ toolchain : stable
21+ profile : minimal
22+ target : wasm32-unknown-unknown
23+ override : true
24+
25+ - name : Cache Dependencies 📦
26+ uses : Swatinem/rust-cache@v2
27+
28+ - name : Install Dependencies 📦
29+ shell : bash
30+ run : cargo install dioxus-cli
31+
32+ - name : Build 🔧
33+ shell : bash
34+ run : dx bundle --release && cp ./docs/public/index.html ./docs/public/404.html
35+
36+ - name : Deploy 🚀
37+ uses : JamesIves/github-pages-deploy-action@v4
38+ with :
39+ branch : gh-pages
40+ folder : docs/public # The folder the action should deploy.
Original file line number Diff line number Diff line change 11# Generated by Cargo
22# will have compiled files and executables
33/target /
4- /dist /
4+ /docs /
55/static /
66/.dioxus /
77
You can’t perform that action at this time.
0 commit comments