Skip to content

Merge pull request #217 from brown-ccv/fix-teams #140

Merge pull request #217 from brown-ccv/fix-teams

Merge pull request #217 from brown-ccv/fix-teams #140

name: prod-deploy-on-merge
on:
push:
branches:
- main
jobs:
dispatch_prod_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: actions/checkout@v3
with:
repository: brown-ccv/ccv-website-nuxt
submodules: recursive
- name: Install
run: npm ci
- name: Generate Static Content
run: |
export NODE_OPTIONS="--max_old_space_size=4096"
git submodule set-branch -b main content
git submodule update --remote
npm run generate
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CCV_BROWN_EDU }}'
projectId: ccv-brown-edu
channelId: live
env:
FIREBASE_CLI_PREVIEWS: hostingchannels