diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 87776f6f4..356ad2d51 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,6 +8,9 @@ on: jobs: build_docs_job: runs-on: ${{ matrix.os }} + permissions: + # Grant write permission here so that the doc can be pushed to gh-pages branch + contents: write strategy: matrix: include: