mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
37 lines
868 B
YAML
37 lines
868 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@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: 1.20.x
|
|
- name: Build tplprev
|
|
run: scripts/build-tplprev.sh
|
|
- name: Setup python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.10'
|
|
cache: 'pip'
|
|
cache-dependency-path: |
|
|
docs-requirements.txt
|
|
- name: Install mkdocs
|
|
run: |
|
|
pip install -r docs-requirements.txt
|
|
- name: Generate docs
|
|
run: mkdocs gh-deploy --strict
|