Skip to content

Commit 9296528

Browse files
committed
deploy.yml updated for cache
1 parent 2625038 commit 9296528

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ jobs:
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
1818
with:
19-
fetch-depth: 0 # Full history for git-revision-date-localized and git-authors plugins
19+
fetch-depth: 0
2020

2121
- name: Setup Python
2222
uses: actions/setup-python@v5
2323
with:
2424
python-version: "3.10"
25-
26-
- name: Cache pip dependencies
27-
uses: actions/cache@v4
28-
with:
29-
path: ~/.cache/pip
30-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
31-
restore-keys: |
32-
${{ runner.os }}-pip-
25+
cache: "pip"
3326

3427
- name: Install dependencies
35-
run: pip install -r requirements.txt
28+
run: |
29+
pip install --upgrade pip
30+
pip install -r requirements.txt
31+
32+
- name: Verify mkdocs version
33+
run: |
34+
python -c "import mkdocs; print(f'mkdocs {mkdocs.__version__}')"
35+
python -c "import material; print(f'mkdocs-material {material.__version__}')"
3636
3737
- name: Configure Git
3838
run: |

0 commit comments

Comments
 (0)