Last active
May 16, 2019 16:58
-
-
Save TsTrv/76ed57d631b9bfd373e6c1d17ce1b519 to your computer and use it in GitHub Desktop.
AdonisJS Elastic Beanstalk run migrations on deployment.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
container_commands: | |
01_node_binary: | |
command: "ln -sf `ls -td /opt/elasticbeanstalk/node-install/node-v10* | head -1`/bin/node /bin/node" | |
leader_only: true | |
02_migration: | |
command: "node ace migration:run" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read more on the following link