update monitor
This commit is contained in:
@@ -1,12 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Configuration
|
|
||||||
APP_DIR="/home/asf/testarena_backend"
|
|
||||||
|
|
||||||
echo "Starting deployment in $APP_DIR..."
|
|
||||||
|
|
||||||
cd $APP_DIR || { echo "Directory $APP_DIR not found"; exit 1; }
|
|
||||||
|
|
||||||
# Pull latest changes (assuming it's a git repo)
|
# Pull latest changes (assuming it's a git repo)
|
||||||
if [ -d ".git" ]; then
|
if [ -d ".git" ]; then
|
||||||
echo "Pulling latest changes from git..."
|
echo "Pulling latest changes from git..."
|
||||||
|
|||||||
Reference in New Issue
Block a user