feat: add gitlab-ci, logrotate setup and deploy alerts
This commit is contained in:
1 parent
b688760309
commit
d4e4711a77
4 files changed
+55
-2
No files matched your search
@@ -18,6 +18,12 @@ echo "Stopping containers..."
|
||||
docker compose down
|
||||
|
||||
echo "Starting deployment..."
|
||||
docker compose up -d --build
|
||||
if docker compose up -d --build; then
|
||||
./scripts/alert.sh "Deployment successful for EpicNext-Cms"
|
||||
echo "--- Deployment successful ---"
|
||||
else
|
||||
./scripts/alert.sh "Deployment FAILED for EpicNext-Cms"
|
||||
echo "--- Deployment FAILED ---"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "--- Deployment initiated ---"
|
||||
Reference in new issue
Block a user