From f6aeaf35f7f6e149bc5f30d7a7807ab7dd868e95 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Thu, 12 May 2022 14:50:47 +0100 Subject: [PATCH] [github actions] Pass GH_PAT to docfx-action Still winging things. --- .github/workflows/docfx.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docfx.yml b/.github/workflows/docfx.yml index a364471..b4ae248 100644 --- a/.github/workflows/docfx.yml +++ b/.github/workflows/docfx.yml @@ -14,10 +14,10 @@ jobs: name: Build Documentation with: args: docfx_project/docfx.json + env: + GH_PAT: ${{ secrets.GH_PAT }} - uses: maxheld83/ghpages@master name: Publish Documentation on GitHub Pages - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" env: BUILD_DIR: docfx_project/_site GH_PAT: ${{ secrets.GH_PAT }}