Skip to content

Fixed and reworked LedColor action block #44

Fixed and reworked LedColor action block

Fixed and reworked LedColor action block #44

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting
"on":
push:
branches:
- "stable"
tags-ignore:
- "*"
pull_request:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm i && npm run web-build
- name: Deploy to Firebase Hosting Live channel on push
if: ${{ github.event_name == 'push' }}
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
channelId: live
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_GRID_EDITOR_WEB }}"
projectId: grid-editor-web
- name: Deploy to Firebase Hosting on pull request
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_GRID_EDITOR_WEB }}"
projectId: grid-editor-web