Browse Source

Configure to generate preview on push to Frontend

Frontend-Kenny-GitHubActions
Kenneth Bruen 3 years ago
parent
commit
ae9ea618c5
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 1
      .github/workflows/firebase-hosting-merge.yml
  2. 9
      .github/workflows/firebase-hosting-pull-request.yml

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

@ -6,7 +6,6 @@ name: Deploy to Firebase Hosting on push
push:
branches:
- master
- Frontend
jobs:
build_and_deploy:
runs-on: ubuntu-latest

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

@ -2,7 +2,14 @@
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on PR
'on': pull_request
'on':
pull_request:
branches:
- master
- Frontend
push:
branches:
- Frontend
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'

Loading…
Cancel
Save