mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 23:20:12 +01:00
Update publish-docs.yml
Add permissions. Correct formatting.
This commit is contained in:
parent
fdf4b3f4ea
commit
0ab8af1bad
1 changed files with 9 additions and 5 deletions
14
.github/workflows/publish-docs.yml
vendored
14
.github/workflows/publish-docs.yml
vendored
|
|
@ -1,13 +1,17 @@
|
||||||
name: Publish Docs
|
name: Publish Docs
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: { }
|
workflow_dispatch: {}
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: [ "Release (Production)" ]
|
workflows: ["Release (Production)"]
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
actions: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-docs:
|
publish-docs:
|
||||||
name: Publish Docs
|
name: Publish Docs
|
||||||
|
|
@ -26,8 +30,8 @@ jobs:
|
||||||
- name: Setup python
|
- name: Setup python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: "3.10"
|
||||||
cache: 'pip'
|
cache: "pip"
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
docs-requirements.txt
|
docs-requirements.txt
|
||||||
- name: Install mkdocs
|
- name: Install mkdocs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue