Merge pull request #2365 from dbnicholson/apidoc-permissions

workflow/docs: Give token write permission to push gh-pages
This commit is contained in:
Colin Walters 2021-05-25 16:37:07 -04:00 committed by GitHub
commit 08fc6d92e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,10 @@ jobs:
docs:
name: Build documentation
runs-on: ubuntu-latest
permissions:
# This job pushes to the gh-pages branch, so the token needs write
# privileges for repo contents.
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v2