Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4ce4134a6 | ||
|
|
072d8f8443 | ||
|
|
6b65f0b583 |
@@ -54,4 +54,5 @@ npm run build
|
||||
|
||||
The current execution environment includes PHP and Node.js but not Composer or `vendor/`, so the PHP tests and dependency resolution could not be run here. See `IMPLEMENTATION_NOTES.md` for verification details.
|
||||
|
||||
Now th auto deplyment
|
||||
Now the auto deployment steps and gitflow
|
||||
|
||||
|
||||
-14
@@ -45,7 +45,6 @@ host('prod')
|
||||
->set('deploy_path', '/opt/laravel-sites/absdev-net/deploy')
|
||||
->set('labels', ['stage' => 'production']);
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Helpers
|
||||
@@ -91,7 +90,6 @@ function absdevArtisan(string $command): void
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Production preflight
|
||||
@@ -143,7 +141,6 @@ task('absdev:preflight', function (): void {
|
||||
writeln('<info>Docker deployment preflight passed.</info>');
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Composer
|
||||
@@ -169,7 +166,6 @@ task('absdev:composer', function (): void {
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Vite
|
||||
@@ -220,7 +216,6 @@ SH;
|
||||
writeln('<info>Production Vite assets built.</info>');
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Release permissions
|
||||
@@ -262,7 +257,6 @@ task('absdev:permissions', function (): void {
|
||||
writeln('<info>Laravel permissions verified.</info>');
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Laravel preparation
|
||||
@@ -283,7 +277,6 @@ task('absdev:laravel:prepare', function (): void {
|
||||
writeln('<info>Laravel release prepared.</info>');
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Revision information
|
||||
@@ -319,7 +312,6 @@ task('absdev:revision', function (): void {
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Release validation
|
||||
@@ -338,7 +330,6 @@ task('absdev:validate', function (): void {
|
||||
writeln('<info>Release files validated.</info>');
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Database migrations
|
||||
@@ -361,7 +352,6 @@ task('absdev:migrate', function (): void {
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| PHP-FPM
|
||||
@@ -380,7 +370,6 @@ task('absdev:php:restart', function (): void {
|
||||
writeln('<info>Docker PHP-FPM restarted.</info>');
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Post-deployment
|
||||
@@ -405,7 +394,6 @@ task('absdev:refresh', function (): void {
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Health check
|
||||
@@ -430,7 +418,6 @@ task('absdev:health', function (): void {
|
||||
writeln('<info>Production HTTP health check passed.</info>');
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Deployment sequence
|
||||
@@ -471,7 +458,6 @@ after('deploy:failed', 'deploy:unlock');
|
||||
after('rollback', 'absdev:php:restart');
|
||||
after('rollback', 'absdev:health');
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Repair Laravel cache ownership before release cleanup
|
||||
|
||||
Reference in New Issue
Block a user