Publish QGIS Plugin lizmap 3.18.0 #266
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: Github Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get source code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
cache-dependency-path: "requirements.txt" | |
- name: Set up NodeJS (for search index prebuilding) | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install -r requirements.txt | |
- name: Deploy to Github Pages | |
run: | | |
git config --global user.name "${{ secrets.BOT_NAME }}" | |
git config --global user.email "${{ secrets.BOT_MAIL }}" | |
mkdocs gh-deploy --clean --force --verbose |