Open jmuheim opened 4 years ago
I see that https://github.com/windy/mina-ng-puma offers the specific case of starting or restarting Puma:
phased_restart and restart need start puma correctly when puma is down.
Still, for loading the DB schema and seeding, a first_deploy?
or similar is still needed.
(Related to https://github.com/mina-deploy/mina/issues/651)
I'd like to execute some commands depending on whether a deployment is the first one or not.
In the following pseudo code, I'm using a hypothetical
first_deploy?
method:How can I achieve this?