Fix conditional syntax for server health check in deploy workflow
All checks were successful
Deploy to Server / deploy (push) Successful in 13s

This commit is contained in:
Joakim Hellsén 2026-03-30 17:01:13 +02:00
commit f6688ca904
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk

View file

@ -40,6 +40,7 @@ jobs:
sudo -u ttvdrops uv run python /home/ttvdrops/ttvdrops/manage.py collectstatic --noinput
sudo systemctl restart ttvdrops
- name: Check if server is up
if : ${{ success() && github.ref == 'refs/heads/master' }}
run: |
sleep 2
curl -f https://ttvdrops.lovinator.space/ || exit 1