Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
ci: add production deployment workflow (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel authored May 11, 2021
1 parent 0e6df89 commit 4d23c78
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy_production.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: deploy_production

on:
push:
branches:
- release

jobs:
deploy-dev:
runs-on: ubuntu-latest
name: Deploy Production
steps:
- uses: actions/checkout@v2
- uses: subosito/[email protected]
with:
channel: master
- run: flutter packages get
- run: flutter build web --web-renderer html --dart-define SHARING_ENABLED=false
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}"
projectId: io-photobooth-20667
expires: 30d
channelId: live

0 comments on commit 4d23c78

Please sign in to comment.