Skip to content

Commit

Permalink
upd: 调整自动化部署时的私钥变量
Browse files Browse the repository at this point in the history
  • Loading branch information
nancyzhan committed Apr 2, 2024
1 parent 55a36e9 commit 199a23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/doc-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: easingthemes/ssh-deploy@main
env:
# 本地.ssh文件下的私钥id_rsa,存在secrets的TOKEN中
SSH_PRIVATE_KEY: ${{ secrets.LUCAS_PRIVATE_KEY }}
SSH_PRIVATE_KEY: ${{ secrets.JOY_PRIVATE_KEY }}
# 复制操作的参数。"-avzr --delete"意味部署时清空服务器目标目录下的文件
# 源目录,相对于$GITHUB_WORKSPACE根目录的路径
SOURCE: docs/.vitepress/dist/
Expand Down

0 comments on commit 199a23d

Please sign in to comment.