Skip to content

updates auto clean defaults #232

updates auto clean defaults

updates auto clean defaults #232

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: deploy docs to stage via pull request
on: pull_request
jobs:
build_and_preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
run: uv python install
- name: Build docs
run: |
uv sync --dev
uv run poe generate_docs
- run: cd docs && npm install && npm run build && cd ..
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
entrypoint: ./docs
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_CITYSEER_API_DOCS }}"
projectId: cityseer-api-docs
env:
FIREBASE_CLI_PREVIEWS: hostingchannels