From e7fbe754ae76435658433293384d9ac4c9efcc2c Mon Sep 17 00:00:00 2001 From: Om More <51229945+thisisommore@users.noreply.github.com> Date: Fri, 11 Jun 2021 21:49:08 +0530 Subject: [PATCH 1/4] Update firebase-hosting-pull-request.yml --- .github/workflows/firebase-hosting-pull-request.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index de10138..38239eb 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -1,8 +1,11 @@ # This file was auto-generated by the Firebase CLI # https://github.com/firebase/firebase-tools -name: Deploy to Firebase Hosting on PR -"on": pull_request +name: Deploy to Firebase Hosting on every push of other branch than master +"on": + push: + branches-ignore: + - 'master' jobs: build_and_preview: if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}" From baaeb252bb66928c98aff26f752c947483c07649 Mon Sep 17 00:00:00 2001 From: Om More <51229945+thisisommore@users.noreply.github.com> Date: Fri, 11 Jun 2021 21:52:13 +0530 Subject: [PATCH 2/4] Update firebase-hosting-pull-request.yml --- .github/workflows/firebase-hosting-pull-request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 38239eb..e3561fb 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -4,8 +4,8 @@ name: Deploy to Firebase Hosting on every push of other branch than master "on": push: - branches-ignore: - - 'master' + branches: + - 'master' jobs: build_and_preview: if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}" From 37255b256135de561a98634a1c2ddf2e0598b331 Mon Sep 17 00:00:00 2001 From: Om More <51229945+thisisommore@users.noreply.github.com> Date: Fri, 11 Jun 2021 21:52:54 +0530 Subject: [PATCH 3/4] Update firebase-hosting-pull-request.yml --- .github/workflows/firebase-hosting-pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index e3561fb..17940f3 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -5,7 +5,7 @@ name: Deploy to Firebase Hosting on every push of other branch than master "on": push: branches: - - 'master' + - '!master' jobs: build_and_preview: if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}" From efb114eebc8f743d459a01da9e1b4855f733dc1a Mon Sep 17 00:00:00 2001 From: Om More <51229945+thisisommore@users.noreply.github.com> Date: Fri, 11 Jun 2021 21:53:52 +0530 Subject: [PATCH 4/4] Update firebase-hosting-pull-request.yml --- .github/workflows/firebase-hosting-pull-request.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 17940f3..ba5ae68 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -2,10 +2,10 @@ # https://github.com/firebase/firebase-tools name: Deploy to Firebase Hosting on every push of other branch than master -"on": - push: - branches: - - '!master' +"on": push + + + jobs: build_and_preview: if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"