From 54894824d731cd94a2a8f2cf916af05bc432480f Mon Sep 17 00:00:00 2001 From: liubin Date: Fri, 14 Jun 2024 20:45:37 +0800 Subject: [PATCH] set ssh push --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5223f5..43fc3ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,4 +22,4 @@ jobs: echo "${{ secrets.RSA }}" > .ssh/id_rsa - name: Upload Files run: | - scp -r dist/* liubin@$HOST:/home/web/www -i .ssh/id_rsa + scp -i .ssh/id_rsa -r dist/* liubin@$HOST:/home/web/www