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:
Macbook
2026-06-14 11:45:24 +09:00
parent 14b8c681b0
commit 61de2fb1e6
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -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"