build: harden build-deploy-docs.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-09-20 12:04:59 +02:00
parent 6dba239462
commit 61ecb42db9

View File

@ -8,8 +8,12 @@ on:
- '.github/workflows/build-deploy-docs.yml'
- 'DOCUMENTATION/**'
permissions: {}
jobs:
build-deploy-docs:
permissions:
contents: write # to push pages branch (peaceiris/actions-gh-pages)
if: github.repository == 'laradock/laradock'
runs-on: ubuntu-20.04
concurrency: