Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mina: allow running specified data_migration #1213

Merged
merged 1 commit into from
Jun 11, 2019

Conversation

teadur
Copy link
Contributor

@teadur teadur commented Jun 3, 2019

Allow running specified data_migration rake task specified in env variable while running mina deploy job.
Rake task will be executed just before db:migrate.
Does not affect prod (changes need to be merged to deploy.rb), example mina config improvement to reflect prod deployment.

bash# data_migrate=some_data_migration_rake_task mina pr deploy
@ratM1n

@vohmar vohmar merged commit 10dbd83 into master Jun 11, 2019
@vohmar vohmar deleted the deploy-example-data-migrations branch June 17, 2019 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants