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.
This commit is contained in:
parent
ac3833777c
commit
91558fe2e2
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-jekyll.yml
vendored
2
.github/workflows/build-jekyll.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
- uses: jeffreytse/jekyll-deploy-action@master
|
- uses: jeffreytse/jekyll-deploy-action@master
|
||||||
with:
|
with:
|
||||||
provider: 'github'
|
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
|
repository: '' # Default is current repository
|
||||||
branch: 'gh-pages' # Default is gh-pages for github provider
|
branch: 'gh-pages' # Default is gh-pages for github provider
|
||||||
jekyll_src: './' # Default is root directory
|
jekyll_src: './' # Default is root directory
|
||||||
|
|
Loading…
Reference in a new issue