chzzk #1
1 changed files with 1 additions and 0 deletions
commit
f6688ca904
1
.github/workflows/deploy.yaml
vendored
1
.github/workflows/deploy.yaml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue