Skip to content

Commit 8b8db86

Browse files
push to try to upload to prod version
1 parent fe940e0 commit 8b8db86

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

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

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,32 @@
1-
# This file was auto-generated by the Firebase CLI
2-
# https://github.com/firebase/firebase-tools
3-
41
name: Deploy to Firebase Hosting on merge
2+
53
on:
64
push:
75
branches:
86
- master
7+
98
jobs:
109
build_and_deploy:
1110
runs-on: ubuntu-latest
11+
1212
steps:
13-
- uses: actions/checkout@v4
14-
- run: flutter build web --release
15-
- uses: FirebaseExtended/action-hosting-deploy@v0
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Flutter
17+
uses: subosito/flutter-action@v2
18+
with:
19+
channel: 'stable'
20+
# Omitimos flutter-version para que use la última estable
21+
22+
- name: Install dependencies
23+
run: flutter pub get
24+
25+
- name: Build web
26+
run: flutter build web --release
27+
28+
- name: Deploy to Firebase Hosting
29+
uses: FirebaseExtended/action-hosting-deploy@v0
1630
with:
1731
repoToken: ${{ secrets.GITHUB_TOKEN }}
1832
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PROJECTMANAGER_45060 }}

0 commit comments

Comments
 (0)