From f1154713b707094730d017202d04a9b6403c711b Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Mon, 26 Feb 2024 19:29:40 +0100 Subject: [PATCH] . --- .gitea/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index af7a7f7..7f06fff 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -46,9 +46,9 @@ jobs: chmod 0600 key scp -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key -r * ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:api/ - name: restarting the backend - working-directory: ./backend run: | echo "${{ secrets.SSH_KEY }}" > key chmod 0600 key + cd backend ssh -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "docker-compose restart" - run: echo "The backend has been deployed. running at https://clyde.herisson.ovh/api"