mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-12 15:25:59 +00:00
fix(workflow): replace fixed wait for directus to be actually ready in seeding workflow (#589)
This commit is contained in:
parent
b44b479932
commit
0c0f89710f
3
.github/workflows/test.backend.seed.yml
vendored
3
.github/workflows/test.backend.seed.yml
vendored
@ -39,7 +39,8 @@ jobs:
|
||||
mkdir -p ./data/uploads
|
||||
sudo chmod 777 -R ./data
|
||||
docker compose -f docker-compose.yml up -d
|
||||
sleep 5
|
||||
# Wait for Directus to be ready using health endpoint polling
|
||||
timeout 120 bash -c 'until curl -f http://localhost:8055/server/health; do echo "Waiting for Directus..."; sleep 5; done'
|
||||
cd backend && ./push.sh && ./seed.sh
|
||||
working-directory: ${{env.WORKING_DIRECTORY}}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user