From bac56f691e5bd4f857189f6bba37f6b4262e3052 Mon Sep 17 00:00:00 2001 From: mathias Date: Tue, 7 Nov 2023 11:15:08 +0100 Subject: [PATCH] update ci --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fc2cb0a..0a0ff91 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,8 +23,8 @@ jobs: echo "${{ secrets.SECRET_PRIVATE_SSH }}" > p.key mkdir -p ~/.ssh touch ~/.ssh/known_hosts - echo "${{ secrets.SECRET_PUB }}" > ~/.ssh/known_hosts - ssh -i ./p.key -p ${{ secrets.SECRET_PORT }} ${{ secrets.SECRET_SERVER }} "cd /project/Swissdle + ssh-keyscan ${{ secrets.SECRET_HOST }} >> ~/.ssh/known_hosts + ssh -i ./p.key -p ${{ secrets.SECRET_PORT }} ${{ secrets.SECRET_USER }}@${{ secrets.SECRET_HOST }} "cd /project/Swissdle && git pull origin main && cd backend-laravel && composer install && cd ../frontend-vue && npm install && npm run build" \ No newline at end of file