This commit is contained in:
@@ -39,13 +39,13 @@ jobs:
|
|||||||
cd $APP_DIR
|
cd $APP_DIR
|
||||||
|
|
||||||
# Build and start all services
|
# Build and start all services
|
||||||
sudo docker compose up -d --build
|
sudo docker-compose up -d --build
|
||||||
|
|
||||||
# Wait for database to be ready
|
# Wait for database to be ready
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
# Run Prisma migrations inside the API container
|
# Run Prisma migrations inside the API container
|
||||||
sudo docker compose exec -T api npx prisma migrate deploy
|
sudo docker-compose exec -T api npx prisma migrate deploy
|
||||||
|
|
||||||
- name: Reload Nginx
|
- name: Reload Nginx
|
||||||
run: sudo systemctl reload nginx
|
run: sudo systemctl reload nginx
|
||||||
Reference in New Issue
Block a user