fix(ci): execute drizzle-kit migrations in app container instead of studio
Some checks failed
Deploy Waveform to VPS / deploy (push) Failing after 31s
Some checks failed
Deploy Waveform to VPS / deploy (push) Failing after 31s
This commit is contained in:
parent
4d0e49c928
commit
cee742bc74
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker compose up -d --build
|
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker compose up -d --build
|
||||||
|
|
||||||
echo "Applying DB migrations..."
|
echo "Applying DB migrations..."
|
||||||
docker compose exec -T waveform-studio npx drizzle-kit push --config=drizzle.config.ts
|
docker compose exec -T waveform npx drizzle-kit push --config=drizzle.config.ts
|
||||||
|
|
||||||
echo "Cleaning up unused Docker images..."
|
echo "Cleaning up unused Docker images..."
|
||||||
docker image prune -f
|
docker image prune -f
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue