배포 실행 파일 수정 DB 덤프 자동실행 추가

This commit is contained in:
root
2026-07-23 17:06:22 +09:00
parent 371ad1063d
commit b5801d149a
7 changed files with 317905 additions and 9 deletions
+14 -1
View File
@@ -2,7 +2,20 @@
set -euo pipefail
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
remote_url="https://gitea.hmac.kr/b24014/egbim_homepage.git"
remote_mode="${1:-https}"
case "$remote_mode" in
https)
remote_url="https://gitea.hmac.kr/b24014/egbim_homepage.git"
;;
ssh)
remote_url="ssh://git@172.16.10.175:22/b24014/egbim_homepage.git"
;;
*)
echo "Usage: $0 [https|ssh]" >&2
exit 1
;;
esac
cd "$repo_root"