mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-06 03:16:45 -06:00
19 lines
539 B
YAML
19 lines
539 B
YAML
name: Deploy to Firebase Hosting on merge
|
|
'on':
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
build_and_deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@master
|
|
- run: npm ci && npm run build
|
|
- uses: FirebaseExtended/action-hosting-deploy@v0
|
|
with:
|
|
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
|
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_THE_OFFICE_0X3401 }}'
|
|
channelId: live
|
|
projectId: the-office-0x3401
|