feat(jenkins): add dashboard:sync-permissions after migrations
Ensures all dashboard permissions exist on every deploy. Command is idempotent — safe to run repeatedly.
This commit is contained in:
Vendored
+1
@@ -61,6 +61,7 @@ pipeline {
|
||||
steps {
|
||||
dir("${APP_DIR}") {
|
||||
sh 'docker exec ntspi-php php artisan migrate --force'
|
||||
sh 'docker exec ntspi-php php artisan dashboard:sync-permissions'
|
||||
}
|
||||
}
|
||||
post {
|
||||
|
||||
Reference in New Issue
Block a user