瀏覽代碼

Fix auto deploy demo workflow

杜府 3 年之前
父節點
當前提交
a76fb5ca47
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      .github/workflows/auto-deploy.yml

+ 1 - 1
.github/workflows/auto-deploy.yml

@@ -51,7 +51,7 @@ jobs:
                   host: ${{ secrets.ALIYUN_HOST }}
                   host: ${{ secrets.ALIYUN_HOST }}
                   username: ${{ secrets.ALIYUN_USERNAME }}
                   username: ${{ secrets.ALIYUN_USERNAME }}
                   port: ${{ secrets.ALIYUN_PORT }}
                   port: ${{ secrets.ALIYUN_PORT }}
-                  key: ${{ secrets.ALIYUN_PRIVATE_KEY }}
+                  password: ${{ secrets.ALIYUN_PRIVATE_KEY }}
                   source: demo/dist/*
                   source: demo/dist/*
                   target: /usr/share/nginx/demo_stdf/
                   target: /usr/share/nginx/demo_stdf/
                   strip_components: 1
                   strip_components: 1