diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 722e229..d1f15a0 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -68,8 +68,5 @@ jobs: - name: Launch API run: | echo "Launching API 🚀" - ssh -p ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} "\ - pkill greenlight-api || true; \ - nohup /var/www/greenlight/greenlight-api > /var/www/greenlight/greenlight.log 2>&1 & \ - " + ssh -p ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} "/usr/local/bin/restart-greenlight-api.sh" echo "App launched 🎆" \ No newline at end of file