From e00cba0594213f675c5c4dbdd6f17b3ef9dd4ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=94=AF?= <997132391@qq.com> Date: Wed, 14 Oct 2020 01:26:04 +0800 Subject: [PATCH] fix(ci): cI --- .github/workflows/deploy.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 642512d..ed79dd0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,16 +14,12 @@ jobs: run: npm install - name: Run build task run: npm run build --if-present - - uses: actions/checkout@master - - name: copy file via ssh password - uses: appleboy/scp-action@master - - name: Checkout uses: actions/checkout@v2 - name: deploy file uses: wlixcc/SFTP-Deploy-Action@v1.0 with: - username: 'root' + username: ${{ secrets.REMOTE_USER }} server: ${{ secrets.REMOTE_HOST }} ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} local_path: './dist/*'