Skip to content

Servo show judge name if available #16

Servo show judge name if available

Servo show judge name if available #16

# 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:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
timeout-minutes: 30
environment:
name: production
url: ${{ steps.firebase-deploy.outputs.details_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci --prefer-offline
- run: npm run codegen
- run: npm run build
env:
VITE_COMMIT_REF: ${{ github.sha }}
VITE_CONTEXT: production
- uses: FirebaseExtended/action-hosting-deploy@v0
id: firebase-deploy
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_ROPESCORE_APP }}
channelId: live
projectId: ropescore-app