Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
hopefully, bug fix
  • Loading branch information
LucasMF1 authored Dec 13, 2024
1 parent 38c663a commit bae3cbd
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,20 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV

- name: Using cache to MkDocs
- name: Cache pip dependencies
uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
path: ~/.cache/pip
key: pip-cache-${{ matrix.python-version }}-${{ github.sha }}
restore-keys: |
mkdocs-material-
pip-cache-${{ matrix.python-version }}-
pip-cache-
- name: Install MkDocs and dependencies
run: pip install mkdocs-material

- run: pip install mkdocs-material
- name: Check MkDocs Version
run: mkdocs --version

- name: Deploy Docs
run: mkdocs gh-deploy --force

0 comments on commit bae3cbd

Please sign in to comment.