Skip to content

Commit

Permalink
Change outdir
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Apr 26, 2024
1 parent d8ab15b commit b8fb967
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
- name: Install CLI
run: cargo binstall dioxus-cli -y --force
- name: Build
run: dx build --release --features web
- name: Build Static HTML
run: cargo run --release --features prebuild
run: dx build --release --bin ui
# - name: Build Static HTML
# run: cargo run --release --features prebuild
- name: Create 404.html
run: cp docs/index.html docs/404.html
- name: Deploy 🚀
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/target
dist
.DS_Store
.idea
2 changes: 1 addition & 1 deletion packages/ui/Dioxus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "ui"
default_platform = "web"

# `build` & `serve` dist path
out_dir = "dist"
out_dir = "../../dist"

# resource (assets) file folder
asset_dir = "assets"
Expand Down

0 comments on commit b8fb967

Please sign in to comment.