Skip to content

Feature: stack/3-judging to dev #130

Feature: stack/3-judging to dev

Feature: stack/3-judging to dev #130

name: Deploy Hacklytics to Firebase Hosting
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: write
checks: write
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
- uses: actions/setup-node@v6
with:
node-version: "22.23.1"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build Hacklytics 2027
run: pnpm turbo run build --filter=hacklytics2027
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DSGT_WEBSITE }}
projectId: dsgt-website
channelId: ${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || 'live' }}
target: hacklytics
entryPoint: "."