diff --git a/.github/workflows/firebase.yml b/.github/workflows/firebase.yml new file mode 100644 index 0000000..c219a6a --- /dev/null +++ b/.github/workflows/firebase.yml @@ -0,0 +1,23 @@ +name: deploy-production + +on: + push: + branches: [firebase] + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: | + npm ci + npm run build + - uses: waymondrang/action-hosting-deploy@v1 + with: + repoToken: "${{ secrets.GITHUB_TOKEN }}" + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" + projectId: ieeeucsd-org + channelId: live