mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
Merge pull request #52 from nicholas-fedor/51-fix-code-scanning-alert---workflow-does-not-contain-permissions
Update publish-docs.yml
This commit is contained in:
commit
37afb42c5e
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
|
||||
|
||||
on:
|
||||
workflow_dispatch: { }
|
||||
workflow_dispatch: {}
|
||||
workflow_run:
|
||||
workflows: [ "Release (Production)" ]
|
||||
branches: [ main ]
|
||||
workflows: ["Release (Production)"]
|
||||
branches: [main]
|
||||
types:
|
||||
- completed
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
publish-docs:
|
||||
name: Publish Docs
|
||||
|
@ -26,8 +30,8 @@ jobs:
|
|||
- name: Setup python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
cache: 'pip'
|
||||
python-version: "3.10"
|
||||
cache: "pip"
|
||||
cache-dependency-path: |
|
||||
docs-requirements.txt
|
||||
- name: Install mkdocs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue