-
Notifications
You must be signed in to change notification settings - Fork 492
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
Do some tasks after deploy #98
Comments
|
As I expected, but do you think there is a need for such functionality. As I studied source code there is only one command queue, which is executed on the remote end. In my situation I would like to override some configuration but only after deployment. Now I do it by defining tasks with only system commands and executing them after deploy task. |
I'm not sure if I understand you. task :qwerty do
queue! %[echo "ls"]
queue! "ls"
end |
No , I want something such as: task :qwerty => :deploy do
system "scp specific_config.txt #{deploy_to}/config"
end |
@musashimm, I have no idea if you're still struggling with this. I had a need for this exact functionality so I put together mina-hooks which gives you the ability to use Let me know if you have an issues. |
now i do mina deploy; mina something from shell but no doubt I wanted the functionality You wrote. I will test it at the first opportunity. |
this can be done with :after_hooks in newer mina versions |
I want to do some tasks after deploy. So i put invoke as last entry in deploy section
But ls command is run before commands in the queue:
So how to check if deploy is finished or run command after deploy.
The text was updated successfully, but these errors were encountered: