Skip to content

Bump to patched version (#210) (patch) #101

Bump to patched version (#210) (patch)

Bump to patched version (#210) (patch) #101

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- master
jobs:
build_and_deploy_stage:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install
run: yarn install
- name: Run lint check
run: yarn lint
- name: Run Stylelint check
run: npx stylelint "**/*.css"
- name: Test
run: yarn test
- name: Build Stage
run: yarn build
env:
REACT_APP_BACKEND_URL: ${{ secrets.REACT_APP_BACKEND_STATINA_URL_STAGE }}
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_STATINA_STAGE }}'
channelId: live
projectId: statina-stage
build_and_deploy_prod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install
run: yarn install
- name: Run lint check
run: yarn lint
- name: Test
run: yarn test
- name: Build Prod
run: yarn build
env:
REACT_APP_BACKEND_URL: ${{ secrets.REACT_APP_BACKEND_STATINA_URL_PROD }}
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_STATINA }}'
channelId: live
projectId: statina-83aa9