use github token for docs

This commit is contained in:
Ricardo Katz 2022-01-16 19:08:06 -03:00 committed by GitHub
parent 9cf5d951aa
commit ae6ab1d5ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}"