Skip to content

Commit f32f1cb

Browse files
committed
Update build.yaml
1 parent f0e8c0a commit f32f1cb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ on:
2020
- '--no-cache'
2121

2222
build_module:
23-
description: 'Docker Build Module'
23+
description: 'Docker Build Target Module'
24+
default: ''
25+
type: string
26+
27+
deploy_module:
28+
description: 'Docker Deploy Target Module'
2429
default: ''
2530
type: string
2631

@@ -184,7 +189,7 @@ jobs:
184189
docker image prune -a -f
185190
186191
# pull new images, recreate containers
187-
docker compose -f docker-compose.deploy.yml --env-file tdei_uw.env up -d --force-recreate --remove-orphans
192+
docker compose -f docker-compose.deploy.yml --env-file tdei_uw.env up -d --force-recreate --remove-orphans ${{github.event.inputs.deploy_module}}
188193
189194
# check what was deployed, just to save in the GH logs
190195
echo Waiting for deployment to complete

0 commit comments

Comments
 (0)