Files
KlipperScreen/.github/workflows/docs.yml
T
Thijs Triemstra 426ffaac98 ci: update dependencies (#1637)
* Update checkout action version in workflow

* Update CodeQL actions to v4

CodeQL Action major versions v1 and v2 have been deprecated. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/

* update deps

* Upgrade github-script action to version 8
2026-01-05 20:32:00 -03:00

30 lines
791 B
YAML

name: docs
on:
push:
branches: [master, main]
paths:
- 'docs/**'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- 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@v6
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v5
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force