From 8a440e8b25a66547e36c73e193783ebdc8022ffa Mon Sep 17 00:00:00 2001 From: Arthur L <18040415+alouradou@users.noreply.github.com> Date: Tue, 26 Mar 2024 23:20:06 +0100 Subject: [PATCH] Added sleep to deploy --- .github/workflows/auto-deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/auto-deploy.yml b/.github/workflows/auto-deploy.yml index 4c5cbae..5f349c9 100644 --- a/.github/workflows/auto-deploy.yml +++ b/.github/workflows/auto-deploy.yml @@ -95,6 +95,9 @@ jobs: source serenadoit/bin/activate gunicorn -w 4 -b 0.0.0.0:10410 run_prod:app --error-logfile logs/error.log --access-logfile logs/access.log -D + - name: Wait before checking deployment + run: sleep 5s + - name: Check deployment run: | ps aux | grep "^$USER" | grep '[g]unicorn' || true