Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
llq0802 committed Oct 25, 2022
1 parent 6c09d10 commit 7395fa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# 第一步是获取源码,使用的 action 是actions/checkout。
# 第二步是构建和部署,使用的 action 是JamesIves/github-pages-deploy-action。
# 第二步需要四个环境变量,分别为 GitHub 密钥、发布分支、构建成果所在目录、构建脚本。其中,只有 GitHub 密钥是秘密变量,需要写在双括号里面,其他三个都可以直接写在文件里
# ACCESS_TOKEN

name: github pages

Expand All @@ -40,5 +41,5 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs-dist

0 comments on commit 7395fa5

Please sign in to comment.