We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60a51a3 commit d9deedeCopy full SHA for d9deede
1 file changed
.github/workflows/deploy.yml
@@ -2,7 +2,7 @@ name: Deploy Dioxus app to GitHub Pages
2
3
on:
4
push:
5
- branches: [ deploy ] # or your default branch
+ branches: [ main ] # or your default branch
6
workflow_dispatch:
7
8
permissions:
@@ -24,14 +24,16 @@ jobs:
24
- name: Install Dioxus CLI
25
run: cargo install dioxus-cli --locked
26
27
- - name: Build Dioxus Web App
+ - name: Build Dioxus Web App (in frontend/)
28
+ working-directory: frontend
29
run: dx build --release
30
- - name: Upload artifact
31
+ - name: Upload GitHub Pages artifact
32
uses: actions/upload-pages-artifact@v3
33
with:
- path: target/dioxus/release/web
34
-
+ # IMPORTANT: path from repo root:
35
+ path: frontend/target/dioxus/release/web
36
+
37
deploy:
38
runs-on: ubuntu-latest
39
needs: build
0 commit comments