From 91558fe2e21f9d5edbdd016747fdd2c154f3534d Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Sat, 13 Nov 2021 19:55:23 +0800 Subject: [PATCH] feat: use GITHUB_TOKEN as the jekyll action token At the start of each workflow run, GitHub automatically creates a unique GITHUB_TOKEN secret to use in your workflow. --- .github/workflows/build-jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-jekyll.yml b/.github/workflows/build-jekyll.yml index 8a415fa..9528f59 100644 --- a/.github/workflows/build-jekyll.yml +++ b/.github/workflows/build-jekyll.yml @@ -23,7 +23,7 @@ jobs: - uses: jeffreytse/jekyll-deploy-action@master with: provider: 'github' - token: ${{ secrets.GH_TOKEN }} # It's your Personal Access Token(PAT) + token: ${{ secrets.GITHUB_TOKEN }} # It's your Personal Access Token(PAT) repository: '' # Default is current repository branch: 'gh-pages' # Default is gh-pages for github provider jekyll_src: './' # Default is root directory