build: harden build-deploy-docs.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
6dba239462
commit
61ecb42db9
4
.github/workflows/build-deploy-docs.yml
vendored
4
.github/workflows/build-deploy-docs.yml
vendored
@ -8,8 +8,12 @@ on:
|
|||||||
- '.github/workflows/build-deploy-docs.yml'
|
- '.github/workflows/build-deploy-docs.yml'
|
||||||
- 'DOCUMENTATION/**'
|
- 'DOCUMENTATION/**'
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
jobs:
|
jobs:
|
||||||
build-deploy-docs:
|
build-deploy-docs:
|
||||||
|
permissions:
|
||||||
|
contents: write # to push pages branch (peaceiris/actions-gh-pages)
|
||||||
|
|
||||||
if: github.repository == 'laradock/laradock'
|
if: github.repository == 'laradock/laradock'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
concurrency:
|
concurrency:
|
||||||
|
Loading…
Reference in New Issue
Block a user