Secure gitea-runner: remove tracked secrets, use SSH for deploy
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 1s

- Untrack .runner (contains registration token), act_runner binary, and nohup.out
- Add gitea-runner sensitive files to .gitignore
- Auto-register runner from env var if .runner is missing
- Switch deploy workflow git pull from HTTP to SSH

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-07 13:19:45 +01:00
parent 4d16dd8d17
commit 4c8573767d
6 changed files with 17 additions and 21 deletions

5
.gitignore vendored
View File

@@ -9,6 +9,11 @@ backend/token/
gitea/config/app.ini
gitea/data/*
# Gitea runner
gitea-runner/.runner
gitea-runner/act_runner
gitea-runner/nohup.out
# Rust build artifacts
**/target/