From 9e8bb264b3266029f7672ac45699c41d84dab1ee Mon Sep 17 00:00:00 2001 From: Giovanni Giordano Date: Sun, 5 Jan 2020 14:11:36 +0100 Subject: [PATCH 1/2] Use gh-pages as branch to deploy --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5086c4e0..970fceaf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,5 +19,5 @@ jobs: uses: JamesIves/github-pages-deploy-action@releases/v3 with: GITHUB_TOKEN: ${{ secrets.GH_DEPLOY }} - BRANCH: master + BRANCH: gh-pages FOLDER: build \ No newline at end of file From 0e54ffdb491c629721c9c99939b8140c9642979d Mon Sep 17 00:00:00 2001 From: Giovanni Giordano Date: Sun, 5 Jan 2020 14:14:06 +0100 Subject: [PATCH 2/2] Configure ACCESS_TOKEN --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 970fceaf..d87bcb9d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,6 +18,7 @@ jobs: - name: Deploy uses: JamesIves/github-pages-deploy-action@releases/v3 with: - GITHUB_TOKEN: ${{ secrets.GH_DEPLOY }} + ACCESS_TOKEN: ${{ secrets.GH_DEPLOY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages FOLDER: build \ No newline at end of file