Skip to content

Update SUPPORT.md

Update SUPPORT.md #20

Workflow file for this run

name: Continuous Integration and Delivery
on:
push:
branches:
- main
- staging
jobs:
test_and_build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Test
run: npm test
- name: Build
run: |
if [ ${{ github.ref }} = 'refs/heads/staging' ]; then
GENERATE_SOURCEMAP=false npm run build
else
npm run build
fi
env:
CI: false
- name: Upload build artifact
uses: actions/upload-artifact@v2
with:
name: build
path: build
retention-days: 1
deploy_to_production:
if: github.ref == 'refs/heads/main'
needs: test_and_build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Download build artifact
uses: actions/download-artifact@v2
with:
name: build
path: build
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_ALLYARC_EDU }}
channelId: live
projectId: allyarc-edu