diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 5b3779d542..f528870351 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -1,5 +1,5 @@ -name: 部署文档 +name: ChenSino博客部署 on: push: @@ -50,8 +50,8 @@ jobs: SSH_PRIVATE_KEY: ${{ env.SSH_PRIVATE_KEY }} ARGS: '-avz --delete' SOURCE: 'docs/.vuepress/dist/' - REMOTE_HOST: ${{ env.SERVER_HOST }} - REMOTE_USER: ${{ env.USER_NAME }} + REMOTE_HOST: ${{ env.REMOTE_HOST }} + REMOTE_USER: ${{ env.REMOTE_USER }} REMOTE_PORT: ${{ env.REMOTE_PORT }} TARGET: /etc/nginx/www # 服务器目标路径