Skip to content

Commit 32e8c82

Browse files
committed
💚 update firebase deploy workflow to deploy both example and playground
1 parent c990f82 commit 32e8c82

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,23 @@ jobs:
2929
run: |
3030
cd packages/flutter_box_transform/example
3131
flutter build web --release
32-
- uses: FirebaseExtended/action-hosting-deploy@v0
32+
- name: Deploy example
33+
uses: FirebaseExtended/action-hosting-deploy@v0
3334
with:
3435
repoToken: '${{ secrets.GITHUB_TOKEN }}'
3536
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BOX_TRANSFORM_EXAMPLE }}'
3637
channelId: live
3738
projectId: box-transform-example
39+
target: example
40+
- name: Build Playground
41+
run: |
42+
cd packages/flutter_box_transform/playground
43+
flutter build web --release
44+
- name: Deploy playground
45+
uses: FirebaseExtended/action-hosting-deploy@v0
46+
with:
47+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
48+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BOX_TRANSFORM_EXAMPLE }}'
49+
channelId: live
50+
projectId: box-transform-example
51+
target: playground

0 commit comments

Comments
 (0)