Remove login requirement for show_config (#325)
#151
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build-docs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - docs-dev | |
| paths: | |
| - "docs/**" | |
| - "mkdocs.yml" | |
| - ".github/workflows/docs.yml" | |
| - "pyproject.toml" | |
| - "zabbix_cli/**" | |
| concurrency: | |
| group: docs-deploy | |
| env: | |
| UV_FROZEN: 1 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v2 | |
| - name: Install dependencies | |
| run: uv sync --group docs --no-dev | |
| - name: Build documentation and publish | |
| run: uv run mkdocs gh-deploy --force |