mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [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/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
674 B
YAML
30 lines
674 B
YAML
name: Publish Docs
|
|
|
|
on:
|
|
workflow_dispatch: { }
|
|
workflow_run:
|
|
workflows: [ "Release (Production)" ]
|
|
branches: [ main ]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
publish-docs:
|
|
name: Publish Docs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install mkdocs
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.10'
|
|
cache: 'pip'
|
|
cache-dependency-path: |
|
|
docs-requirements.txt
|
|
run: |
|
|
pip install -r docs-requirements.txt
|
|
- name: Generate docs
|
|
run: mkdocs gh-deploy --strict
|