File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 0.2
2+
3+ phases :
4+ install :
5+ runtime-versions :
6+ php : 8.3
7+ commands :
8+ - echo Installing Composer and dependencies...
9+ - curl -sS https://getcomposer.org/installer | php
10+ - php composer.phar install --no-interaction --prefer-dist --optimize-autoloader
11+
12+ pre_build :
13+ commands :
14+ - echo Setting Laravel permissions...
15+ - cp .env.example .env
16+ - php artisan config:clear
17+ - php artisan cache:clear
18+ - php artisan config:cache
19+ - php artisan route:cache
20+ - php artisan view:cache
21+
22+ build :
23+ commands :
24+ - echo Running Laravel Tests...
25+ - php artisan test || true # You can fail the build if test fails
26+ - echo Build completed.
27+
28+ post_build :
29+ commands :
30+ - echo Deployment ready! Triggering post-deployment hook...
You can’t perform that action at this time.
0 commit comments