Skip to content

feat: docs chatbot — agentkit-powered widget with Pylon issue creation #20

feat: docs chatbot — agentkit-powered widget with Pylon issue creation

feat: docs chatbot — agentkit-powered widget with Pylon issue creation #20

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on PR
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: |
github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.draft == false &&
contains(github.event.pull_request.labels.*.name, 'firebase-preview')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm install -g pnpm
- uses: actions/cache@v4
with:
path: ~/.local/share/pnpm/store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-
- run: pnpm install
- run: pnpm build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DOCS_SCALEKIT_COM }}
projectId: docs-scalekit-com