All checks were successful
CI / test-and-build (push) Successful in 36s
Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
619 B
Bash
13 lines
619 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
bash ~/games_app/deploy/release/install-deploy-tool.sh
|
|
ssh -o BatchMode=yes -o StrictHostKeyChecking=no -i ~/gitea-deploy-ssh/id_ed25519 deploy@127.0.0.1 \
|
|
'/opt/tloto/bin/tloto-deploy --help' | head -25
|
|
sudo -u postgres psql -d gitea <<'SQL'
|
|
UPDATE action_run_job SET status=3, stopped=EXTRACT(EPOCH FROM NOW())::bigint WHERE id=7 AND status IN (1,2,6);
|
|
UPDATE action_run SET status=3, stopped=EXTRACT(EPOCH FROM NOW())::bigint WHERE id=7 AND status IN (1,2,6);
|
|
SELECT id, status FROM action_run_job WHERE id=7;
|
|
SELECT id, status FROM action_run WHERE id=7;
|
|
SQL
|
|
echo WRAPPER_OK
|