games_app/deploy/gitea-stack/post-install-checks.sh
Your Name 07ccda0349
Some checks failed
CI / test-and-build (push) Failing after 1m40s
Fix Gitea Actions registry access and runner config
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-17 20:03:55 +02:00

15 lines
478 B
Bash

#!/usr/bin/env bash
set -euo pipefail
bash ~/gitea/set-deploy-secrets.sh
cd ~/gitea
set -a; source .env; set +a
echo "--- actions runs ---"
curl -s -u "${GITEA_ADMIN_USER}:${GITEA_ADMIN_PASSWORD}" \
"http://127.0.0.1:3000/api/v1/repos/tloto-admin/games_app/actions/runs?limit=5" | head -c 1200
echo
echo "--- runner logs ---"
sudo docker logs tloto_act_runner --tail 30
echo "--- tloto health ---"
curl -fsS http://127.0.0.1:9080/health | head -c 100; echo
echo "CHECKS_DONE"