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') &&
|
(github.repository == 'kubernetes/ingress-nginx') &&
|
||||||
(needs.changes.outputs.docs == 'true')
|
(needs.changes.outputs.docs == 'true')
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write # needed to write releases
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout master
|
- name: Checkout master
|
||||||
|
@ -45,4 +48,4 @@ jobs:
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: ./.github/actions/mkdocs
|
uses: ./.github/actions/mkdocs
|
||||||
env:
|
env:
|
||||||
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
|
PERSONAL_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
Loading…
Reference in a new issue