watchtower/.github/workflows/publish-docs.yml
nemezo e0cbe337d7
chore(deps): bump go/stdlib to v1.23.x and update go modules
- Upgraded `go.mod` to use Go 1.23 and updated module dependencies to latest versions
- Refactored code to align with API changes in Docker and related modules:
  - Updated `ContainerListOptions` to `container.ListOptions` and related structs
  - Replaced `types.ImageDeleteResponseItem` with `image.DeleteResponse` for compatibility
  - Modified `ImagePullOptions` and `ContainerRemoveOptions` to updated package paths
2024-10-31 14:27:34 +01:00

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.23.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