mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
740 B
YAML
30 lines
740 B
YAML
name: docs-ci
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- docs/*
|
|
- .github/workflows/docs-release.yml
|
|
- mkdocs.yml
|
|
- HMI/README.md
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: 3.x
|
|
- run: pip install mkdocs-material mkdocs-video markdown-include mike
|
|
- run: cp HMI/README.md docs/hmi-serial-protocol.md
|
|
- run: git config --global user.name Docs deploy
|
|
- run: git config --global user.email docs@dummy.bot.com
|
|
- run: mike set-default stable
|
|
- run: mike deploy --push --update-aliases stable
|