Created
December 16, 2021 11:27
-
-
Save arturograu/1f91a83a9343bece23d34ffee64834a6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file was auto-generated by the Firebase CLI | |
| # https://github.com/firebase/firebase-tools | |
| name: Deploy to Firebase Hosting on merge | |
| 'on': | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build_and_deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - run: sudo snap install flutter --classic | |
| - run: flutter config --enable-web | |
| - run: flutter build web -t lib/main_prod.dart --release | |
| - uses: FirebaseExtended/action-hosting-deploy@v0 | |
| with: | |
| repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
| firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_QUALITIME }}' | |
| channelId: live | |
| projectId: demoproject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment