fix: reconcile desktop latest.json after deploy; nginx MIME types
Run reload-frontend-desktop-static from post-receive after deploy so signed updater manifest survives git checkout placeholder reset. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -43,6 +43,12 @@ while read -r OLDREV NEWREV REFNAME; do
|
||||
fi
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') $HOOK_TAG 배포 완료"
|
||||
|
||||
RELOAD="${WORK_TREE}/scripts/reload-frontend-desktop-static.sh"
|
||||
if [ -x "$RELOAD" ]; then
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') $HOOK_TAG desktop updates static 동기화"
|
||||
WORK_TREE="$WORK_TREE" "$RELOAD" >> "$DEPLOY_LOG" 2>&1 || true
|
||||
fi
|
||||
|
||||
# Desktop(macOS·Windows) Jenkins 빌드 — git push 성공 후 자동 (웹 배포와 독립)
|
||||
WORK_TREE="${WORK_TREE:-/Users/aidev/apps/goldenChart}"
|
||||
TRIGGER="${WORK_TREE}/scripts/trigger-desktop-jenkins-build.sh"
|
||||
|
||||
Reference in New Issue
Block a user