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

View File

@@ -12,7 +12,7 @@ jobs:
working-directory: /home/adamf/deploy/web_server
run: |
git config --global --add safe.directory /home/adamf/deploy/web_server
git pull http://gitea:3000/adamf/web_server.git main
git pull ssh://git@gitea:2222/adamf/web_server.git main
- name: Run docker compose up
working-directory: /home/adamf/deploy/web_server