diff --git a/apps/web/src/views/partials/nav.ejs b/apps/web/src/views/partials/nav.ejs
index 2d0c144..4d185e2 100644
--- a/apps/web/src/views/partials/nav.ejs
+++ b/apps/web/src/views/partials/nav.ejs
@@ -2,7 +2,7 @@
PingQL
Monitors
-
Status pages
+
Pages
Incidents
Notifications
Settings
diff --git a/deploy.sh b/deploy.sh
index 8fceba9..81fb183 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -41,7 +41,7 @@ deploy_api() {
echo "[api] Deploying to api-eu-central..."
$SSH $API_HOST bash << 'REMOTE'
cd /opt/pingql
- git pull
+ git fetch origin && git reset --hard origin/main
cd apps/api
/root/.bun/bin/bun install
systemctl restart pingql-api
@@ -54,7 +54,7 @@ deploy_pay() {
echo "[pay] Deploying to api-eu-central..."
$SSH $API_HOST bash << 'REMOTE'
cd /opt/pingql
- git pull
+ git fetch origin && git reset --hard origin/main
cd apps/pay
/root/.bun/bin/bun install
systemctl restart pingql-pay
@@ -68,7 +68,7 @@ deploy_web() {
$SSH $WEB_HOST bash << 'REMOTE'
cd /opt/pingql
git checkout -- apps/web/src/dashboard/tailwind.css
- git pull
+ git fetch origin && git reset --hard origin/main
cd apps/web
/root/.bun/bin/bun install
/root/.bun/bin/bun run css
@@ -84,7 +84,7 @@ deploy_status() {
echo "[status] Deploying to web-eu-central (co-located)..."
$SSH $WEB_HOST bash << 'REMOTE'
cd /opt/pingql
- git pull
+ git fetch origin && git reset --hard origin/main
cd apps/status
/root/.bun/bin/bun install
systemctl restart pingql-status
@@ -100,7 +100,7 @@ deploy_monitor() {
echo "[monitor] Starting deploy on $host..."
$SSH $host bash << 'REMOTE'
cd /opt/pingql
- git pull
+ git fetch origin && git reset --hard origin/main
cd apps/monitor
/root/.cargo/bin/cargo build --release
systemctl restart pingql-monitor