Files
Imposter-Game/.gitea/workflows/firebase-hosting-deploy.yaml
Jonathan Rampersad 35ae20a045
All checks were successful
Deploy to Firebase Hosting / build_and_deploy (push) Successful in 2m1s
Use node 20
2025-05-12 17:12:26 -04:00

29 lines
920 B
YAML

name: Deploy to Firebase Hosting
on:
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
# Gitea provides GITEA_TOKEN similarly to GitHub's GITHUB_TOKEN.
# This is used by the action to comment on pull requests with preview URLs if applicable.
# For direct deploys to 'live' on push to main, it might be less critical but good to include.
repoToken: '${{ secrets.GITEA_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}'
projectId: '${{ secrets.FIREBASE_PROJECT_ID }}'
channelId: live