Skip to content

Fix continue link

Fix continue link #69

# 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:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Enable Corepack and use Yarn 3.x
run: |
corepack enable
corepack prepare yarn@3.3.1 --activate
- name: Build Phonics
run: yarn install && yarn build:phonics
- name: Deploy Phonics
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PHONIC_SPELLING }}"
channelId: live
projectId: phonic-spelling
target: phonic-spelling
- name: Build McGuffey
run: yarn install && yarn build:mcguffey
- name: Deploy McGuffey
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PHONIC_SPELLING }}"
channelId: live
projectId: phonic-spelling
target: mcguffey
- name: Build Synthetic Primer
run: yarn install && yarn build:synthetic-primer
- name: Deploy Synthetic Primer
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PHONIC_SPELLING }}"
channelId: live
projectId: phonic-spelling
target: synthetic-primer