Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriqueAmorim20 committed Oct 24, 2023
1 parent f678624 commit 3cb0022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .docker/entrypoint.prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

echo "---------------Run migrations---------------"

node /app/node_modules/.bin/typeorm-ts-node-commonjs migration:run -d src/ormconfig.js
node /app/node_modules/.bin/typeorm-ts-node-commonjs migration:run -d /app/ormconfig.js

echo "---------------Run migrations - END---------"

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ jobs:
cd ${{env.TARGET_DIR}}
git checkout CD_test_branch
git pull
sudo docker compose pull
sudo docker compose -f docker-compose.prod.yml up -V --force-recreate --build -d
sudo docker image prune -f

0 comments on commit 3cb0022

Please sign in to comment.