Switch Gitea deploy workflow to local runner mode
Some checks failed
Redeploy Docker Compose / redeploy (push) Failing after 2s

This commit is contained in:
2026-03-26 19:03:48 +01:00
parent a91cfb8cb1
commit 6b02571d50
3 changed files with 8 additions and 55 deletions

View File

@@ -61,7 +61,7 @@ A React + TypeScript app with a local Node + SQLite backend for planning what to
When `main` is updated, Gitea Actions can redeploy your Docker Compose stack using:
- Workflow file: `.gitea/workflows/redeploy-compose.yml`
- Trigger: push to `main`
- Remote commands run over SSH:
- Commands run locally on the Gitea runner host:
- `git fetch`
- `git checkout main`
- `git pull --ff-only`
@@ -69,8 +69,6 @@ When `main` is updated, Gitea Actions can redeploy your Docker Compose stack usi
- `docker compose up -d --build --remove-orphans`
Set these repository secrets in Gitea:
- `DEPLOY_HOST`: server hostname or IP
- `DEPLOY_USER`: SSH username on the deployment server
- `DEPLOY_PATH`: absolute path to this repo on the server
- `SSH_PRIVATE_KEY`: private key for SSH auth (matching an authorized public key on the server)
- `DEPLOY_PORT` (optional): SSH port, defaults to `22`
For this workflow to work, your runner must have Docker socket access (for example `-v /var/run/docker.sock:/var/run/docker.sock`).