This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
Blinks #418 Supersede #1151
Workflow file for this run
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 Preview Channel | |
on: | |
pull_request: | |
# branches: [ !dependabot/** ] | |
jobs: | |
build_and_preview: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Add your build steps here (e.g., npm ci && npm run build) | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: ${{ secrets.GITHUB_TOKEN }} | |
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }} | |
expires: 1d | |
projectId: sillylittlefiles | |
- if: ${{ failure() }} | |
uses: mshick/add-pr-comment@v2 | |
with: | |
message: | | |
An Error Happened on Preview Deployment: A tmate debugging session spawned, check details to connect and debug. | |
This was triggered by ${{ github.sha }} on the runner @ ${{ github.run_id }} | |
- if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 | |
- if: ${{ failure() }} | |
uses: mshick/add-pr-comment@v2 | |
with: | |
message: | | |
~~An Error Happened on Preview Deployment: A tmate debugging session spawned, check details to connect and debug. | |
This was triggered by ${{ github.sha }} on the runner @ ${{ github.run_id }}~~ | |
Tmate session was closed |