Skip to content

Commit 85e0965

Browse files
committed
Fixed UI workflow
1 parent 9bcece0 commit 85e0965

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/firebase-hosting-merge.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,26 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- run: npm ci
15-
- uses: FirebaseExtended/action-hosting-deploy@v0
14+
- name: Setup Flutter
15+
uses: subosito/flutter-action@v2
16+
with:
17+
flutter-version: '3.35.3'
18+
channel: 'stable'
19+
- name: Install dependencies
20+
run: |
21+
cd ui
22+
flutter pub get
23+
- name: Build Flutter web app
24+
run: |
25+
cd ui
26+
flutter build web --release
27+
- name: Deploy to Firebase Hosting
28+
uses: FirebaseExtended/action-hosting-deploy@v0
1629
with:
1730
repoToken: ${{ secrets.GITHUB_TOKEN }}
1831
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_UI_PROJ_A684B }}
1932
channelId: live
2033
projectId: ui-proj-a684b
34+
target: ui
2135
env:
2236
FIREBASE_CLI_EXPERIMENTS: webframeworks

0 commit comments

Comments
 (0)