From 75d945cd2fd22f30d7060c8e8e7cd086fed9e29b Mon Sep 17 00:00:00 2001 From: mathias Date: Tue, 7 Nov 2023 11:37:14 +0100 Subject: [PATCH] update ci --- .github/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index dbb04d3..75b1f77 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,4 +22,8 @@ jobs: echo "${{ secrets.SECRET_PRIVATE_SSH }}" > ~/.ssh/pkey chmod 600 ~/.ssh/pkey eval "$(ssh-agent -s)" - ssh-add ~/.ssh/pkey \ No newline at end of file + ssh-add ~/.ssh/pkey + ssh -i -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