Created
December 16, 2021 11:37
-
-
Save arturograu/7d7691cf1b1d3f20f6f51accd2baa783 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 PR | |
| 'on': pull_request | |
| jobs: | |
| build_and_preview: | |
| if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' | |
| 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_staging.dart --release | |
| - uses: FirebaseExtended/action-hosting-deploy@v0 | |
| with: | |
| repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
| firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_QUALITIME }}' | |
| projectId: demoproject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment