fix: configure gitea webhook auto-deploy and fix provisioning NVS flash
- Add deploy-host.sh script for webhook-triggered docker redeploy - Mark deploy-host.sh executable in .gitignore / git config - Update docker-compose.yml and nginx.conf for auto-pull setup - Fix vite.config.js and admin router for deployment environment - Fix NVS generator CRC seed to match ESP-IDF esp_rom_crc32_le Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
11
deploy-host.sh
Executable file
11
deploy-host.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
PROJECT=/home/bellsystems/bellsystems-cp
|
||||
|
||||
echo "Deploy started at $(date)"
|
||||
cd "$PROJECT"
|
||||
git fetch origin main
|
||||
git reset --hard origin/main
|
||||
docker compose up -d --build 2>&1
|
||||
echo "Deploy finished at $(date)"
|
||||
Reference in New Issue
Block a user