summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Tse <jeffreytse.mail@gmail.com>2021-11-13 19:55:23 +0800
committerJeffrey Tse <jeffreytse.mail@gmail.com>2021-11-15 00:33:30 +0800
commit91558fe2e21f9d5edbdd016747fdd2c154f3534d (patch)
tree2f9dcdcb461b53df36d49fded12bc5fc7fa185b7
parentac3833777c63ae6bc66c59275a2c6dccef16b762 (diff)
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.
-rw-r--r--.github/workflows/build-jekyll.yml2
1 files changed, 1 insertions, 1 deletions
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