From 2c85716674239cfefeb96ec3fa15f3b55a70b5d5 Mon Sep 17 00:00:00 2001 From: Dax Pryce Date: Tue, 6 Feb 2024 11:36:16 -0800 Subject: [PATCH] Allow documentation to be published to our gh-pages branch --- .github/workflows/build-python-pdoc.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-python-pdoc.yml b/.github/workflows/build-python-pdoc.yml index dc3b77fc0..28766ad02 100644 --- a/.github/workflows/build-python-pdoc.yml +++ b/.github/workflows/build-python-pdoc.yml @@ -2,6 +2,8 @@ name: DiskANN Build PDoc Documentation on: [workflow_call] jobs: build-reference-documentation: + permissions: + contents: write runs-on: ubuntu-latest steps: - name: Checkout repository @@ -75,4 +77,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/python/html - destination_dir: docs/python/latest \ No newline at end of file + destination_dir: docs/python/latest