Moved installation of plugin into another step

This commit is contained in:
squidfunk 2020-02-14 09:31:59 +01:00
parent 63380891be
commit 2980e4b392

View File

@ -93,9 +93,7 @@ jobs:
${{ runner.os }}-pip- ${{ runner.os }}-pip-
- if: steps.cache-python.outputs.cache-hit != 'true' - if: steps.cache-python.outputs.cache-hit != 'true'
run: | run: pip install -r requirements.txt
pip install -r requirements.txt
pip install mkdocs-minify-plugin>=0.2
# Set configuration for repository and deploy documentation # Set configuration for repository and deploy documentation
- env: - env:
@ -108,8 +106,10 @@ jobs:
git config --global user.email "${GH_EMAIL}" git config --global user.email "${GH_EMAIL}"
git remote set-url origin ${REMOTE} git remote set-url origin ${REMOTE}
# Install theme # Install theme and dependencies
- run: python setup.py install - run: |
python setup.py install
pip install mkdocs-minify-plugin>=0.2
# Build documentation # Build documentation
- env: - env: