Skip to content

Commit 3cfd719

Browse files
committed
fix merge conflicts
1 parent ad9ad8d commit 3cfd719

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

deploy.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ set -euo pipefail
1313
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1414
CLIENT_DIR="$REPO_DIR/client"
1515
SERVER_DIR="$REPO_DIR/server"
16-
<<<<<<< HEAD
17-
NGINX_WEB_ROOT="/var/www/coursehub"
18-
=======
1916
NGINX_WEB_ROOT="/var/www/coursehub/client"
20-
>>>>>>> f385ff68fcab0ff89d8769e012a17c4ac23973fe
2117
PM2_APP_NAME="coursehub-backend"
2218

2319
# ── Colours ─────────────────────────────────────────────────
@@ -54,12 +50,9 @@ deploy_frontend() {
5450
# Clear old build and copy new one
5551
sudo rm -rf "${NGINX_WEB_ROOT:?}"/*
5652
sudo cp -r "$CLIENT_DIR/dist/." "$NGINX_WEB_ROOT/"
57-
<<<<<<< HEAD
58-
=======
5953
log "Reloading nginx..."
6054
sudo systemctl reload nginx
6155
sudo nginx -s reload
62-
>>>>>>> f385ff68fcab0ff89d8769e012a17c4ac23973fe
6356

6457
success "Frontend deployed successfully!"
6558
}
@@ -106,12 +99,9 @@ case "$TARGET" in
10699
log "Replacing files in $NGINX_WEB_ROOT ..."
107100
sudo rm -rf "${NGINX_WEB_ROOT:?}"/*
108101
sudo cp -r "$CLIENT_DIR/dist/." "$NGINX_WEB_ROOT/"
109-
<<<<<<< HEAD
110-
=======
111102
log "Reloading nginx..."
112103
sudo systemctl reload nginx
113104
sudo nginx -s reload
114-
>>>>>>> f385ff68fcab0ff89d8769e012a17c4ac23973fe
115105
success "Frontend deployed!"
116106

117107
# Backend

0 commit comments

Comments
 (0)