diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 73752f3..fbd7f5a 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -43,6 +43,6 @@ jobs: - name: Launch API run: | ssh -p ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} "\ - pkill greenlight-api || true; \ - nohup /var/www/greenlight/greenlight-api \ + pkill greenlight-api || true; \ + nohup /var/www/greenlight/greenlight-api > /var/www/greenlight/greenlight.log 2>&1 & \ " \ No newline at end of file