Skip to content

refactor: variable font #57

refactor: variable font

refactor: variable font #57

# 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:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
pull-requests: write
environment:
name: production
url: https://th.techcal.dev
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.7.5
- uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: 'install'
run: pnpm -r i --frozen-lockfile
- name: 'build'
run: |
cd web
pnpm build-ci
cd ..
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TECHCAL_TH }}'
channelId: live
projectId: techcal-th