chore: Refined final deployment stats

This commit is contained in:
2026-07-22 00:23:42 +01:00
parent 2a45a7f680
commit 9738b59543
3 changed files with 3 additions and 22 deletions
+3 -2
View File
@@ -17,8 +17,9 @@ docker compose -f traefik-docker-compose.yml pull && docker compose -f traefik-d
docker compose -f gitea-docker-compose.yml pull && docker compose -f gitea-docker-compose.yml up -d
echo "Waiting for Gitea to become ready..."
sleep 20
for i in $(seq 1 30); do
if docker exec gitea gitea admin user list >/dev/null 2>&1; then
if docker exec -u 1000:1000 gitea gitea admin user list >/dev/null 2>&1; then
break
fi
sleep 2
@@ -27,7 +28,7 @@ done
# Generate a fresh Actions runner registration token straight from Gitea and
# hand it to the runner containers via .env (docker compose auto-loads this) -
# no manual copy/paste from the admin UI needed.
RUNNER_TOKEN=$(docker exec gitea gitea actions generate-runner-token)
RUNNER_TOKEN=$(docker exec -u 1000:1000 gitea gitea actions generate-runner-token)
echo "GITEA_RUNNER_REGISTRATION_TOKEN=$RUNNER_TOKEN" > Runners/.env
cd Runners