fix: mount /apps and docker socket in PR workflow build-and-deploy-ci job #41

Merged
david merged 33 commits from fix/switch-to-npm-ci into main 2026-05-20 19:51:36 +00:00
Showing only changes of commit a921fe5682 - Show all commits
+5 -6
View File
@@ -79,17 +79,16 @@ jobs:
cd /apps/euchre_camp_ci
docker compose up -d app
- name: Wait for CI site to be healthy
- name: Wait for CI site to be ready
run: |
for i in {1..30}; do
if result=$(docker exec euchre-camp-ci wget -q -O- http://localhost:3000/api/health 2>&1); then
echo "CI site is healthy: $result"
for i in {1..15}; do
if docker ps --filter name=euchre-camp-ci --format '{{.Status}}' | grep -q Up; then
echo "CI site container is running"
exit 0
fi
echo "Attempt $i: $result"
sleep 2
done
echo "CI site failed to become healthy after 60 seconds"
echo "CI site container failed to start"
docker compose -f /apps/euchre_camp_ci/docker-compose.yml logs app
exit 1