mirror of
https://github.com/dancojocaru2000/foxbank.git
synced 2025-02-23 06:09:34 +02:00
Configure to generate preview on push to Frontend
This commit is contained in:
parent
619ccc6be0
commit
ae9ea618c5
2 changed files with 8 additions and 2 deletions
1
.github/workflows/firebase-hosting-merge.yml
vendored
1
.github/workflows/firebase-hosting-merge.yml
vendored
|
@ -6,7 +6,6 @@ name: Deploy to Firebase Hosting on push
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- Frontend
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_deploy:
|
build_and_deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -2,7 +2,14 @@
|
||||||
# https://github.com/firebase/firebase-tools
|
# https://github.com/firebase/firebase-tools
|
||||||
|
|
||||||
name: Deploy to Firebase Hosting on PR
|
name: Deploy to Firebase Hosting on PR
|
||||||
'on': pull_request
|
'on':
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- Frontend
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- Frontend
|
||||||
jobs:
|
jobs:
|
||||||
build_and_preview:
|
build_and_preview:
|
||||||
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
|
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue