File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,23 @@ jobs:
1919 - name : Setup PHP
2020 uses : shivammathur/setup-php@v2
2121 with :
22- php-version : 8.3 # Updated to PHP 8.3 to match your Vapor config
22+ php-version : 8.3
2323 tools : composer:v2
2424 coverage : none
2525
26- # Step 3: Install Vapor CLI
26+ # Step 3: Install project dependencies
27+ - name : Install Dependencies
28+ run : composer install --no-dev --no-progress --no-scripts --optimize-autoloader
29+
30+ # Step 4: Install Vapor CLI
2731 - name : Install Vapor CLI
2832 run : composer global require laravel/vapor-cli
2933
30- # Step 4 : Log the branch being deployed (Optional enhancement)
34+ # Step 5 : Log the branch being deployed (Optional enhancement)
3135 - name : Log Branch
32- run : echo "Deploying branch ${{ github.ref }}"
36+ run : echo "Deploying branch ${{ github.ref_name }}"
3337
34- # Step 5 : Deploy to the Vapor Production Environment
38+ # Step 6 : Deploy to the Vapor Production Environment
3539 - name : Deploy to Production
3640 run : vapor deploy production
3741 env :
You can’t perform that action at this time.
0 commit comments