Skip to content

Deploy

Deploy #91

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
name: Deploy to Github Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Config
run: |
git config --global user.email "[email protected]"
git config --global user.name "CI user"
- name: Install
run: npm ci
- name: Build
env:
NODE_APP_INSTANCE: podlovers
NODE_OPTIONS: --unhandled-rejections=none --max-old-space-size=4096
run: npm run build
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PODLOVERS_FRONTEND }}'
projectId: podlovers-frontend
channelId: live