Skip to content

Commit

Permalink
Try to fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
leonief authored and GitHub Enterprise committed Mar 17, 2025
1 parent 0390af5 commit 865cecc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@ jobs:
echo "Using compose file: $COMPOSE_FILE"
docker compose version
cd $GITHUB_WORKSPACE
docker compose -f $COMPOSE_FILE config --verbose && printf "OK\n" || exit 1
docker compose -f $COMPOSE_FILE config && echo "Compose file is valid" || exit 1
- name: Build and run docker image
run: sudo docker compose -f $COMPOSE_FILE up --force-recreate --build -d
run: |
echo "Deploying with compose file: $COMPOSE_FILE"
sudo docker compose -f $COMPOSE_FILE up --force-recreate --build -d
- name: Verify that gateway is available
run: sudo docker ps

0 comments on commit 865cecc

Please sign in to comment.