Skip to content

🔨 refactor(pme-helpers.js): update table headers in getDiagnosticHema… #18

🔨 refactor(pme-helpers.js): update table headers in getDiagnosticHema…

🔨 refactor(pme-helpers.js): update table headers in getDiagnosticHema… #18

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Firebase hosting staging
'on':
push:
branches:
- main
jobs:
build_and_deploy_production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 16
- name: Install Yarn
run: npm install yarn@latest -g
- name: Install Dependencies
run: yarn
- name: Create env file
run: |
cat <<EOF > .module-pme/.env
# Can be one of:
# all - all modules included
# pme - just the pme module as a standalone app
# The value of this field can be overwritten
# by module specific .env keys/values.
APP_BUILD_TYPE: pme
# https://api.staging.mycure.md
API: https://api.staging.mycure.md
EOF
- name: Run Build
run: yarn build:spa:pme
- name: Install Firebase Tools
run: npm install firebase-tools@latest -g
- name: Deploy to Firebase
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
run: |
firebase use mc-v4-stg
firebase target:clear hosting staging
firebase target:apply hosting staging mycure-suite-staging
firebase deploy --only hosting:staging -P mc-v4-stg