Skip to content

Commit bfa45e1

Browse files
committedJan 23, 2025
Update action
1 parent 6cc6092 commit bfa45e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎.github/workflows/deploy-production.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
tools: composer:v2
2424
coverage: none
2525

26-
# Step 3: Install project dependencies
26+
# Step 3: Navigate to the backend and install dependencies
2727
- name: Install Dependencies
28+
working-directory: ./backend
2829
run: composer install --no-dev --no-progress --no-scripts --optimize-autoloader
2930

3031
# Step 4: Install Vapor CLI
@@ -37,6 +38,7 @@ jobs:
3738

3839
# Step 6: Deploy to the Vapor Production Environment
3940
- name: Deploy to Production
41+
working-directory: ./backend
4042
run: vapor deploy production
4143
env:
4244
VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }}

0 commit comments

Comments
 (0)