File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,27 @@ jobs:
2323 tools : composer:v2
2424 coverage : none
2525
26- # Step 3: Navigate to the backend and install dependencies
26+ # Step 3: Navigate to the backend and prepare environment
27+ - name : Prepare Laravel Environment
28+ working-directory : ./backend
29+ run : |
30+ mkdir -p bootstrap/cache
31+ chmod -R 775 bootstrap/cache
32+
33+ # Step 4: Install Dependencies
2734 - name : Install Dependencies
2835 working-directory : ./backend
2936 run : composer install --no-dev --no-progress --no-scripts --optimize-autoloader
3037
31- # Step 4 : Install Vapor CLI
38+ # Step 5 : Install Vapor CLI
3239 - name : Install Vapor CLI
3340 run : composer global require laravel/vapor-cli
3441
35- # Step 5 : Log the branch being deployed (Optional enhancement)
42+ # Step 6 : Log the branch being deployed (Optional enhancement)
3643 - name : Log Branch
3744 run : echo "Deploying branch ${{ github.ref_name }}"
3845
39- # Step 6 : Deploy to the Vapor Production Environment
46+ # Step 7 : Deploy to the Vapor Production Environment
4047 - name : Deploy to Production
4148 working-directory : ./backend
4249 run : vapor deploy production
You can’t perform that action at this time.
0 commit comments