Skip to content

Commit

Permalink
add composer install to cloudbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
CrysR committed Dec 19, 2024
1 parent 580dbf1 commit 1ea1432
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions db-migrate.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

composer install

php artisan optimize:clear
Expand All @@ -10,3 +12,7 @@ php artisan view:cache
# Run Laravel migration (by force, since it would be a prod-environment)
php artisan migrate --force


# curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && apt-get install -y nodejs
# npm install
# npm run build

0 comments on commit 1ea1432

Please sign in to comment.