File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -79,19 +79,19 @@ jobs:
79
79
echo "Ensuring build runs in default server mode..."
80
80
export NEXT_OUTPUT_MODE='standalone'
81
81
82
- # Step 4: Build the new webapp image.
83
- echo "Building the latest webapp image..."
82
+ # Step 4: Build the latest api image.
83
+ echo "Building the latest api image..."
84
84
# Use 'codebuilder' as the stack prefix
85
- docker compose -p codebuilder build webapp
85
+ docker compose -p codebuilder build api
86
86
87
- # Step 5: Forcefully remove the old webapp container to prevent conflicts.
88
- echo "Forcefully removing old webapp container if it exists..."
89
- docker rm -f codebuilder-webapp || true
87
+ # Step 5: Forcefully remove the old api container to prevent conflicts.
88
+ echo "Forcefully removing old api container if it exists..."
89
+ docker rm -f codebuilder-api || true
90
90
91
- # Step 6: Deploy the new webapp container.
92
- echo "Deploying the new webapp container..."
91
+ # Step 6: Deploy the new api container.
92
+ echo "Deploying the new api container..."
93
93
# Use 'codebuilder' as the stack prefix
94
- docker compose -p codebuilder up -d --no-deps webapp
94
+ docker compose -p codebuilder up -d --no-deps api
95
95
96
96
- name : ' 🗑 Prune Old Docker Images'
97
97
if : always()
You can’t perform that action at this time.
0 commit comments