Removed unnecessary configuration from CI pipeline

This commit is contained in:
squidfunk 2020-07-10 13:58:16 +02:00
parent 0ac3486039
commit 69a5211c70

View File

@ -77,28 +77,9 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}
# - uses: actions/cache@v1
# id: cache-python
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-${{ env.PYTHON_VERSION }}-${{ hashFiles('**/requirements.txt') }}
# - if: steps.cache-python.outputs.cache-hit != 'true'
- run: pip install -r requirements.txt
# Set configuration for repository and deploy documentation
- env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_NAME: ${{ secrets.GH_NAME }}
GH_EMAIL: ${{ secrets.GH_EMAIL }}
run: |
REMOTE="https://${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}"
git config --global user.name "${GH_NAME}"
git config --global user.email "${GH_EMAIL}"
git remote set-url origin ${REMOTE}
# Install theme and dependencies
- run: |
pip install -r requirements.txt
pip install .
pip install mkdocs-minify-plugin>=0.2