Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CHZarles authored Nov 19, 2024
1 parent a3be2e2 commit 4d95a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
uses: webfactory/[email protected] #这里调用这个第三方的库,可以直接关联ssh私钥
with: #下面是参数
#这里需要通过github的环境参数中获取私钥,并传给这个库,(这是最安全的,git当然不能让用户直接输入私钥内容)
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
ssh-private-key: ${{ secrets.MKDOCS_SERVER }}   

- run: mkdocs gh-deploy --force

0 comments on commit 4d95a94

Please sign in to comment.