chzzk #1

Merged
TheLovinator merged 8 commits from chzzk into master 2026-04-01 04:09:20 +02:00
Showing only changes of commit f6688ca904 - Show all commits

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

Joakim Hellsén 2026-03-30 17:01:13 +02:00
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 -u ttvdrops uv run python /home/ttvdrops/ttvdrops/manage.py collectstatic --noinput
sudo systemctl restart ttvdrops sudo systemctl restart ttvdrops
- name: Check if server is up - name: Check if server is up
if : ${{ success() && github.ref == 'refs/heads/master' }}
run: | run: |
sleep 2 sleep 2
curl -f https://ttvdrops.lovinator.space/ || exit 1 curl -f https://ttvdrops.lovinator.space/ || exit 1