mirror of
https://github.com/fergalmoran/radio-otherway.git
synced 2025-12-22 09:50:29 +00:00
25 lines
570 B
Plaintext
25 lines
570 B
Plaintext
name: Deploy to Firebase
|
|
on:
|
|
push:
|
|
branches: [ develop ]
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: web
|
|
|
|
jobs:
|
|
build_and_deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Dependencies
|
|
run: yarn
|
|
- name: Build
|
|
run: yarn build
|
|
- name: Deploy to Firebase
|
|
uses: w9jds/firebase-action@master
|
|
with:
|
|
args: deploy --only functions,hosting
|
|
env:
|
|
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
|
FIREBASE_CLI_EXPERIMENTS: webframeworks |