Manual
This commit is contained in:
@@ -37,8 +37,10 @@ CMDS=(
|
||||
"php artisan up --quiet"
|
||||
"systemctl is-active --quiet php8.3-fpm || systemctl restart php8.3-fpm"
|
||||
"systemctl is-active --quiet paymenter.service || systemctl restart paymenter.service"
|
||||
"systemctl restart nginx"
|
||||
)
|
||||
|
||||
|
||||
rollback(){
|
||||
echo -e "\n\033[31m✘ Deployment failed. Rolling back...\033[0m"
|
||||
git reset --hard HEAD@{1} || true
|
||||
|
||||
Reference in New Issue
Block a user