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

Cleanup not run after deploy #218

Closed
edwardmp opened this issue Aug 21, 2014 · 5 comments
Closed

Cleanup not run after deploy #218

edwardmp opened this issue Aug 21, 2014 · 5 comments

Comments

@edwardmp
Copy link

Hi,

I think mina deploy:cleanup is supposed to run after a deploy.. however in my case, it is not run automatically. If I invoke mina deploy:cleanup it works correct, but I think I shouldn't be doing this manually.

Also right after executing deploy connection is lost (?):

$ mina deploy
Elapsed time: 0.00 seconds
Connection to [servername] closed.
Elapsed time: 1.00 seconds
-----> Creating a temporary build path

@rstacruz
Copy link
Member

that's pretty strange, but I'm going to guess this is a problem with SSH or your login shell. can you SSH into the server properly? are you using bash?

@edwardmp
Copy link
Author

I use zsh. Ssh to server works fine, all other commands work fine

@edwardmp
Copy link
Author

edwardmp commented Sep 6, 2014

Any idea how I can solve this? Running cleanup manually in to :launch do works fine. Thanks.

@izidorome
Copy link

I'm doing this manually too...

@gabskoro
Copy link
Member

I added invoke :'deploy:cleanup' into the deploy.rb script.

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

No branches or pull requests

4 participants