use github token for docs
This commit is contained in:
parent
9cf5d951aa
commit
ae6ab1d5ed
1 changed files with 4 additions and 1 deletions
5
.github/workflows/docs.yaml
vendored
5
.github/workflows/docs.yaml
vendored
|
@ -37,6 +37,9 @@ jobs:
|
|||
(github.repository == 'kubernetes/ingress-nginx') &&
|
||||
(needs.changes.outputs.docs == 'true')
|
||||
|
||||
permissions:
|
||||
contents: write # needed to write releases
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout master
|
||||
|
@ -45,4 +48,4 @@ jobs:
|
|||
- name: Deploy
|
||||
uses: ./.github/actions/mkdocs
|
||||
env:
|
||||
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
|
||||
PERSONAL_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
|
Loading…
Reference in a new issue