one more re-registration fix

This commit is contained in:
mullayanov
2025-04-19 22:56:20 +05:00
parent d17d9c2d6c
commit fdc76d629b
3 changed files with 27 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ try {
Push-Location "data"
# Check if runner is already registered
if (-not (Test-Path -Path "data/.runner")) {
if (-not (Test-Path -Path ".runner")) {
Write-Host "Configuring new runner: $GITEA_RUNNER_NAME"
../act_runner.exe register --no-interactive --instance $GITEA_INSTANCE_URL --token $GITEA_RUNNER_REGISTRATION_TOKEN --name $GITEA_RUNNER_NAME --labels $LABELS
}