From ef29335b729c6f4382a305347e2b4d7fafbe4bf8 Mon Sep 17 00:00:00 2001 From: Adrian Date: Thu, 19 May 2022 17:15:12 +0200 Subject: [PATCH] Set back checkout version, adjust access-token See https://github.com/enriikke/gatsby-gh-pages-action/issues/27#issuecomment-719543084 --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5aec872..963360f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,9 +9,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v1 - uses: enriikke/gatsby-gh-pages-action@v2 with: - access-token: ${{ secrets.ACCESS_TOKEN }} + access-token: x-access-token:${{ secrets.GITHUB_TOKEN }} deploy-branch: gh-pages gatsby-args: --prefix-paths