diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 9e90bf5..4bb020a 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -8,6 +8,9 @@ on: env: CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules +permissions: + contents: write + jobs: build: name: Build and publish documentation @@ -31,7 +34,7 @@ jobs: cmake --build build --target GenerateDocs - name: Publish - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build/doxygen/html