Skip to content

chore: update actions/cache to version 6.0.0 in deploy_mkdocs.yml #26

chore: update actions/cache to version 6.0.0 in deploy_mkdocs.yml

chore: update actions/cache to version 6.0.0 in deploy_mkdocs.yml #26

Workflow file for this run

# A GitHub Actions workflow to deploy MkDocs documentation to GitHub Pages on push to the master or main branch.
---
name: Deploy MkDocs
on:
push:
branches:
- master
- main
- KEH-2331_add_zizmor
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0
with:
persist-credentials: false
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install poetry
- run: poetry config virtualenvs.create false
- run: poetry install --only docs
- run: mkdocs gh-deploy --force