Skip to content

Update package.json #162

Update package.json

Update package.json #162

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Build
'on':
push:
branches:
- main
defaults:
run:
working-directory: ./web
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: yarn install && yarn run build
env:
VUE_APP_APP_NAME: Hepilo
VUE_APP_APP_SUPPORT_EMAIL: arnold@ndolestudio.com
VUE_APP_RECAPTCHA_SITE_KEY: 6Le4-jseAAAAACQavdg0uBHEk6cIPnfQ-jRCYklA
VUE_APP_GITHUB_LINK: https://github.com/NdoleStudio/hepilo
VUE_APP_SITE_URL: https://hepilo.com
VUE_APP_SITE_NAME: Hepilo
VUE_APP_SENTRY_DSN: https://1e5300c5ad8449968a2edbd2fb25e255@o291224.ingest.sentry.io/6244114
VUE_APP_SENTRY_TRACE_ORIGIN: heplo.com
VUE_APP_SENTRY_PROJECT_NAME: hepilo
VUE_APP_NOTION_BASE_URL: '${{ secrets.NOTION_BASE_URL }}'
VUE_APP_NOTION_DATABASE_ID: '${{ secrets.NOTION_DATABASE_ID }}'
VUE_APP_NOTION_TOKEN: '${{ secrets.NOTION_TOKEN }}'
VUE_APP_SITE_EMAIL: arnold@hepilo.com
VUE_APP_SITE_ANDROID_APP_URL: https://play.google.com/store/apps/details?id=com.hepilo.twa
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_HEPILO_F5CD4 }}'
channelId: live
projectId: hepilo-f5cd4
entryPoint: './web'
- name: Create Sentry Release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production
projects: ${{ secrets.SENTRY_PROJECT }}
sourcemaps: web/dist
version: ${{ github.sha }}