-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,5 @@ jobs: | |
- run: pip install mkdocs-blogging-plugin | ||
- run: pip install mkdocs-git-revision-date-localized-plugin | ||
- run: pip install mkdocs-glightbox | ||
- run: pip install mkdocs-pdf | ||
- name: Install SSH Client #步骤3:关联ssh私钥 | ||
uses: webfactory/[email protected] #这里调用这个第三方的库,可以直接关联ssh私钥 | ||
with: #下面是参数 | ||
#这里需要通过github的环境参数中获取私钥,并传给这个库,(这是最安全的,git当然不能让用户直接输入私钥内容) | ||
ssh-private-key: ${{ secrets.MKDOCS_SERVER }} | ||
|
||
- run: pip install mkdocs-pdf | ||
- run: mkdocs gh-deploy --force |