run option to run artisan migrate before staring
All checks were successful
ci/woodpecker/push/build_dev Pipeline was successful

This commit is contained in:
Ruben Momoa
2024-08-30 14:14:45 +02:00
parent e4e5dc6524
commit 6e956702bc

View File

@@ -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 &