run option to run artisan migrate before staring
All checks were successful
ci/woodpecker/push/build_dev Pipeline was successful
All checks were successful
ci/woodpecker/push/build_dev Pipeline was successful
This commit is contained in:
@@ -31,6 +31,11 @@ if [[ "$BOOT_NPM_INSTALL" = true ]]; then
|
|||||||
npm install --cache /tmp/npm
|
npm install --cache /tmp/npm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$BOOT_MIGRATE" = true ]]; then
|
||||||
|
echo "artisan migrate"
|
||||||
|
php /var/www/html/artisan migrate
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "$BOOT_NPM_DEV" = true ]]; then
|
if [[ "$BOOT_NPM_DEV" = true ]]; then
|
||||||
echo "Staring npm dev"
|
echo "Staring npm dev"
|
||||||
npm run dev --prefix /var/www/html &
|
npm run dev --prefix /var/www/html &
|
||||||
|
|||||||
Reference in New Issue
Block a user