Skip to content

Commit 55c3ac0

Browse files
feat: Added GitHub Actions to deploy demo pages
1 parent 3d30e67 commit 55c3ac0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ jobs:
2626
cache: true
2727

2828
- name: Install deps
29+
working-directory: example
2930
run: flutter pub get
3031

3132
- name: Build web
33+
working-directory: example
3234
run: |
3335
# Project Pages are served from /<repo>/, user/org pages from /
3436
REPO_NAME="${GITHUB_REPOSITORY#*/}"
@@ -45,7 +47,7 @@ jobs:
4547
- name: Upload artifact
4648
uses: actions/upload-pages-artifact@v4
4749
with:
48-
path: build/web
50+
path: example/build/web
4951

5052
deploy:
5153
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)