mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01:00
Removed unnecessary configuration from CI pipeline
This commit is contained in:
parent
0ac3486039
commit
69a5211c70
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user