Improve automatic syncing of code to Gitea repository

Update scripts to use a Gitea SSH key from environment secrets for pushing changes and handle potential push failures more robustly.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 7af524e2-8a54-436a-b317-3fefb6036307
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 67df87ba-d859-4ba6-9875-fd196e92f9e5
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
antoinepiron
2026-05-03 12:17:02 +00:00
parent 7617779a18
commit 134dbe214e
2 changed files with 19 additions and 21 deletions
-4
View File
@@ -2,7 +2,3 @@
set -e
pnpm install --frozen-lockfile
pnpm --filter db push
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "Syncing to Gitea..."
bash "$SCRIPT_DIR/push-to-gitea.sh" || echo "Warning: Gitea push failed (non-fatal)."