Skip to content

Commit 6208e8f

Browse files
committed
💚 update workflows
1 parent c6f240b commit 6208e8f

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/firebase-hosting-merge.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
name: Deploy to Firebase Hosting on merge
2-
'on':
2+
3+
on:
34
push:
5+
paths:
6+
- '**.dart'
7+
- '**.yaml'
8+
- '**.yml'
49
branches:
510
- main
11+
612
jobs:
713
build_and_deploy:
814
runs-on: ubuntu-latest

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Deploy to Firebase Hosting on PR
2-
'on': pull_request
2+
3+
on: pull_request
4+
35
jobs:
46
build_and_preview:
57
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'

0 commit comments

Comments
 (0)