From e3670b7b5e77df04f02c74925bca1242b67ed1bc Mon Sep 17 00:00:00 2001 From: Jaime Sanchez Date: Tue, 5 Mar 2024 13:08:19 +0100 Subject: [PATCH] chore: add deploy app dev workflow --- .github/workflows/deploy_app_dev.yaml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/deploy_app_dev.yaml diff --git a/.github/workflows/deploy_app_dev.yaml b/.github/workflows/deploy_app_dev.yaml new file mode 100644 index 000000000..ebfc0b281 --- /dev/null +++ b/.github/workflows/deploy_app_dev.yaml @@ -0,0 +1,28 @@ +name: deploy_app_dev + +on: + push: + branches: + - main + +jobs: + deploy-dev: + runs-on: ubuntu-latest + name: Deploy App Development + steps: + - uses: actions/checkout@v3 + - uses: subosito/flutter-action@v2 + with: + channel: "stable" + - run: flutter packages get + - run: flutter build web --web-renderer canvaskit -t lib/main_development.dart + + + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: "${{ secrets.GITHUB_TOKEN }}" + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_DEV }}" + projectId: io-crossword-dev + target: app_dev + expires: 30d + channelId: live