Skip to content

Commit

Permalink
use github token for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rikatz committed Jan 16, 2022
1 parent 9cf5d95 commit ae6ab1d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,4 +48,4 @@ jobs:
- name: Deploy
uses: ./.github/actions/mkdocs
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
PERSONAL_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit ae6ab1d

Please sign in to comment.