Skip to content

Commit

Permalink
Update docs workflow caching
Browse files Browse the repository at this point in the history
  • Loading branch information
janbrasna authored Aug 11, 2024
1 parent dfba8d4 commit 43de721
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 43de721

Please sign in to comment.