mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
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@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install mkdocs
|
|
uses: actions/setup-python@v3
|
|
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
|