Skip to content

Commit

Permalink
Merge pull request #6181 from janbrasna/fix/ci-pip-cache
Browse files Browse the repository at this point in the history
Update docs workflow caching
  • Loading branch information
akatsoulas authored Aug 16, 2024
2 parents dfba8d4 + 43de721 commit 26cf4a0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
cache: pip
- id: pages
uses: actions/configure-pages@v4
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
uses: actions/configure-pages@v5
- run: pip install mkdocs-material
- run: mkdocs build -d dist
- uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 26cf4a0

Please sign in to comment.