Skip to content

Commit

Permalink
fix: update deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Aug 22, 2024
1 parent e3e2e1d commit 217233e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Container Image Build CI
on:
push:
branches:
- main
- raphodn/django-5-rewrite
- deploy-*
tags:
- v*.*.*
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ create_external_volumes:
docker volume create open_prices_data-dump


# TODO: update to Django migrate command
migrate-db:
@echo "🥫 Migrating database …"
${DOCKER_COMPOSE} run --rm --no-deps api poetry run alembic upgrade head
@echo "🥫 Migrating database … (to be implemented)"

add-db-revision: guard-message
${DOCKER_COMPOSE} run --rm --no-deps api alembic revision --autogenerate -m "${message}"
Expand Down

0 comments on commit 217233e

Please sign in to comment.