File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This file was auto-generated by the Firebase CLI
2- # https://github.com/firebase/firebase-tools
3-
41name : Deploy to Firebase Hosting on merge
2+
53on :
64 push :
75 branches :
86 - master
7+
98jobs :
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 }}
You can’t perform that action at this time.
0 commit comments