mirror of
https://github.com/fergalmoran/radio-otherway.git
synced 2025-12-22 09:50:29 +00:00
Rejig actions
This commit is contained in:
9
.github/workflows/firebase-hosting-merge.yml
vendored
9
.github/workflows/firebase-hosting-merge.yml
vendored
@@ -1,11 +1,12 @@
|
||||
name: Deploy to Firebase Hosting on merge
|
||||
'on':
|
||||
name: Deploy to Firebase
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
branches: [ develop ]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
|
||||
jobs:
|
||||
build_and_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
# 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
|
||||
jobs:
|
||||
build_and_preview:
|
||||
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: yarn install && yarn build
|
||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
||||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RADIO_OTHERWAY }}'
|
||||
projectId: radio-otherway
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Docker Image CI
|
||||
name: Build Scheduler Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
Reference in New Issue
Block a user