mirror of
https://github.com/Spythere/pragotron-td2.git
synced 2026-05-03 05:28:14 +00:00
18 lines
483 B
YAML
18 lines
483 B
YAML
name: Deploy to Firebase Hosting on merge
|
|
on:
|
|
push:
|
|
branches:
|
|
- main-old
|
|
jobs:
|
|
build_and_deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: yarn && yarn build
|
|
- uses: FirebaseExtended/action-hosting-deploy@v0
|
|
with:
|
|
repoToken: ${{ secrets.GITHUB_TOKEN }}
|
|
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRAGOTRON_TD2 }}
|
|
channelId: live
|
|
projectId: pragotron-td2
|