release_command with multiple commands

Hello,

I have an Elixir app which has more than one release_command to run (seeds and migrations). I tried to concat my three commands using “&&” but that does not work. When I am doing in on the machine itself via ssh console it works though. :man_shrugging:

Any ideas?

Unfortunately docs don’t have a section about release command unless the part in the Elixir guide.

1 Like

You can create a bash script that runs your other commands. The flyctl source has an example: flyctl/example at master · superfly/flyctl · GitHub

1 Like