Skip to content

Commit

Permalink
Fix doc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sdunesme committed Jan 13, 2025
1 parent 1a983bf commit b68ccfd
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ permissions:
jobs:
deploy:
runs-on: ubuntu-latest

container:
image: qgis/qgis:3.34
env:
QGIS_PLUGIN_IN_CI: 1
PYTHONPATH: /usr/share/qgis/python/plugins

steps:

- uses: actions/checkout@v4
Expand All @@ -21,10 +28,6 @@ jobs:
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x

- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV

- uses: actions/cache@v4
Expand All @@ -34,12 +37,16 @@ jobs:
restore-keys: |
mkdocs-material-
# - name: Install packages
# run: |
# python -m pip install --upgrade pip
# pip install wheel setuptools numpy cython
# pip install --no-build-isolation -r requirements.txt
# pip install --no-build-isolation -e .

- name: Install packages
run: |
python -m pip install --upgrade pip
pip install wheel setuptools numpy cython
pip install -r requirements.txt
pip install --no-build-isolation -e .
pip install --no-build-isolation -r requirements.txt
- name: Build and deploy docs
run: |
Expand Down

0 comments on commit b68ccfd

Please sign in to comment.