Run artisan inside container instead of on host (PHP version mismatch)
Deploy / deploy (push) Successful in 14s
Deploy / deploy (push) Successful in 14s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
9752e7db4c
commit
2024f060f1
1 file changed
-7
@@ -55,12 +55,5 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
set -e
|
set -e
|
||||||
cd ~/app
|
cd ~/app
|
||||||
|
|
||||||
# Composer auf dem Host installieren falls nicht vorhanden
|
|
||||||
if [ ! -f "$HOME/composer.phar" ]; then
|
|
||||||
curl -sS https://getcomposer.org/installer | php -- --install-dir="$HOME" --filename=composer.phar
|
|
||||||
fi
|
|
||||||
php "$HOME/composer.phar" install --no-dev --optimize-autoloader
|
|
||||||
|
|
||||||
docker compose up -d --build --remove-orphans
|
docker compose up -d --build --remove-orphans
|
||||||
docker compose exec -T app php artisan migrate --force
|
docker compose exec -T app php artisan migrate --force
|
||||||
Reference in new issue
Block a user