From cb44277b703dd70fbbbdf325b95a56886cfd2728 Mon Sep 17 00:00:00 2001 From: Mikhail Kovalchuk <59735474+mk1020@users.noreply.github.com> Date: Sat, 15 May 2021 21:06:05 +0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index be03c67..df0ed17 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,11 +18,5 @@ jobs: run: | npm install npm run build - - name: ls -a via ssh - uses: garygrossgarten/github-action-ssh@release - with: - command: ls -a - host: ${{ secrets.HOST }} - username: root - passphrase: ${{ secrets.PASSPHRASE }} - privateKey: ${{ secrets.PRIVATE_KEY}} + - name: transfer package.json + run: scp ./dist/package.json root@${{secrets.HOST}}:./baby_app/