feat(ci): add migration rollback and remove duplicate chown in Jenkinsfile

- Save pre-deploy SHA before git pull for automatic rollback
- On migrate failure: git reset + migrate:rollback + reinstall deps + restart
- Remove duplicate chown from Restart Services stage (already in Fix Permissions)
- Clean up .deploy_prev_sha after deploy completes
This commit is contained in:
F4ilji
2026-07-03 09:57:34 +05:00
parent 282d5a7c38
commit 67b9aae961
4 changed files with 27 additions and 71 deletions
-1
View File
@@ -43,7 +43,6 @@
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/breeze": "^1.25",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",