Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 01a6dad

Browse files
committed
[Tech#39] Deploy on push tag
1 parent 798e86e commit 01a6dad

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy to Firebase Hosting on create Tag
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- 'test'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
15+
- name: Setup Java
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: '12.x'
19+
20+
- name: Setup Flutter
21+
uses: subosito/flutter-action@v1
22+
with:
23+
flutter-version: '2.10.3'
24+
25+
- uses: FirebaseExtended/action-hosting-deploy@v0
26+
with:
27+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
28+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PROJECT_ZERO_384AD }}'
29+
projectId: project-zero-384ad

0 commit comments

Comments
 (0)