This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
Blinks #418 Supersede (#419) #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Live Channel | |
on: | |
push: | |
branches: | |
- main | |
# Optionally configure to run only for specific files. For example: | |
# paths: | |
# - "website/**" | |
jobs: | |
deploy_live_website: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Add any build steps here. For example: | |
# - run: npm ci && npm run build | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" | |
projectId: sillylittlefiles | |
channelId: live | |
- if: ${{ failure() }} | |
uses: mshick/add-pr-comment@v2 | |
with: | |
message: | | |
An Error Happened on Production Deployment: A tmate debugging session spawned, discover the issue, and make a PR with a hotfix! | |
This was triggered by ${{ github.sha }} on the runner @ ${{ github.run_id }} | |
- if: ${{ failure() }} | |
uses: mshick/add-pr-comment@v2 | |
with: | |
message: | | |
~~An Error Happened on Production Deployment: A tmate debugging session spawned, discover the issue, and make a PR with a hotfix! | |
This was triggered by ${{ github.sha }} on the runner @ ${{ github.run_id }}}~~ | |
Tmate session was closed |