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:
@@ -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)."
|
||||
|
||||
Reference in New Issue
Block a user