fix: Add AOI for testing, add test case for SQL and JOSN output #11
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: Publish Docs | |
on: | |
push: | |
paths: | |
- docs/** | |
- osm_rawdata/** | |
branches: [main] | |
# Allow manual trigger (workflow_dispatch) | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
publish_docs: | |
name: Publish Docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | |
- name: Read cache | |
uses: actions/cache@v3 | |
with: | |
key: mkdocs-material-${{ env.cache_id }} | |
path: .cache | |
restore-keys: | | |
mkdocs-material- | |
- name: Install PDM | |
run: | | |
python3 -m pip install pdm | |
- name: Publish | |
run: | | |
pdm install -G docs --no-default | |
pdm run mkdocs gh-deploy --force |