Skip to content

Merge pull request #360 from SpiritFour/fix-mail-sending-stuff #87

Merge pull request #360 from SpiritFour/fix-mail-sending-stuff

Merge pull request #360 from SpiritFour/fix-mail-sending-stuff #87

# 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:
- dev
workflow_dispatch:
jobs:
deploy-firebase-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install && pnpm ci-dev-build
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_WHATSANALYZE_80665 }}"
channelId: live
projectId: whatsanalyze-80665
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
- name: Sentry Release
uses: getsentry/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: dev
sourcemaps: "./dist"