1
0
Fork 0
mirror of https://github.com/dancojocaru2000/foxbank.git synced 2025-02-22 23:39:36 +02:00

Configure to generate preview on push to Frontend

This commit is contained in:
Kenneth Bruen 2021-12-06 14:43:04 +02:00
parent 619ccc6be0
commit ae9ea618c5
Signed by: kbruen
GPG key ID: C1980A470C3EE5B1
2 changed files with 8 additions and 2 deletions

View file

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

View file

@ -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 }}'