infra: deploy script + webhook server + S3 uploader (saguaro test)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
LOG=/var/log/ptp-deploy.log
|
||||
echo "[2026-04-29 00:05:28] Deploy started" >> $LOG
|
||||
cd /var/www/hugo-source
|
||||
git checkout mirror >> $LOG 2>&1
|
||||
git pull gitea mirror >> $LOG 2>&1
|
||||
hugo -d /var/www/html --baseURL 'https://ptp.saguaro-cactus.ru' >> $LOG 2>&1
|
||||
echo "[2026-04-29 00:05:28] Deploy done" >> $LOG
|
||||
Reference in New Issue
Block a user