accommodates changes to the OS Open Roads GPKG layer keys #163
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
# 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@v3 | |
- uses: pdm-project/setup-pdm@v3 | |
name: Setup PDM | |
with: | |
python-version: "3.11" | |
cache: true | |
- name: Build docs | |
run: | | |
pdm install --dev | |
pdm run 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 |