Skip to content

Commit

Permalink
fix: #dev-deploy backend containers env name
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbator authored Dec 4, 2024
1 parent b0c8b19 commit 74ebae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev.kodemy.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:
cd $WORKING_DIRECTORY
docker compose -f docker-compose.app.yml -f docker-compose.app.expose.yml up --build -d
export CONTAINERS=$(docker-compose -f docker-compose.app.yml ps -q)
export BACKEND_CONTAINERS=$(docker-compose -f docker-compose.app.yml ps -q)
- name: Validate running
uses: appleboy/ssh-action@master
Expand All @@ -203,7 +203,7 @@ jobs:
echo "Waiting 1 minute..."
sleep 1m
for container in $CONTAINERS; do
for container in $BACKEND_CONTAINERS; do
status=$(docker inspect --format='{{.State.Status}}' $container)
if [ "$status" != "running" ]; then
echo "$container not running"
Expand Down

0 comments on commit 74ebae1

Please sign in to comment.