From 503acbb5c173a8bd50786798045c9cb45d71cc57 Mon Sep 17 00:00:00 2001 From: mathias Date: Tue, 7 Nov 2023 11:23:27 +0100 Subject: [PATCH] update ci --- .github/workflows/deploy.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 489b1fb..99f1deb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,16 +14,9 @@ jobs: uses: actions/checkout@v3 - name: Deploy to Container - env: - SECRET_PORT: ${{ secrets.SECRET_PORT }} - SECRET_PRIVATE_SSH: ${{ secrets.SECRET_PRIVATE_SSH }} run: | mkdir ~/.ssh touch ~/.ssh/known_hosts ssh-keyscan ${{ secrets.SECRET_HOST }} >> ~/.ssh/known_hosts eval "$(ssh-agent -s)" - ssh-add ${{ secrets.SECRET_PRIVATE_SSH }} - 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 + ssh-add ${{ secrets.SECRET_PRIVATE_SSH }} \ No newline at end of file