diff options
author | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2021-11-13 19:55:23 +0800 |
---|---|---|
committer | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2021-11-15 00:33:30 +0800 |
commit | 91558fe2e21f9d5edbdd016747fdd2c154f3534d (patch) | |
tree | 2f9dcdcb461b53df36d49fded12bc5fc7fa185b7 | |
parent | ac3833777c63ae6bc66c59275a2c6dccef16b762 (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.yml | 2 |
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 |