Someone know why the mina can't create the current diretory after add foreman?
-----> Cleaning up old releases (keeping 5) -----> Exporting foreman procfile for bash: line 152: cd: /home/ubuntu/test/current: File or directory not found sudo: bundle: command not found ! ERROR: Deploy failed. -----> Cleaning up build Unlinking current OK Connection to 55.77.221.43 closed.
deploy do
# Put things that will set up an empty directory into a fully set-up
# instance of your project.
invoke :'git:clone'
invoke :'deploy:link_shared_paths'
invoke :'bundle:install'
invoke :'rails:db_migrate'
invoke :'rails:assets_precompile'
invoke :'deploy:cleanup'
invoke :'foreman:export'
to :launch do
queue "mkdir -p #{deploy_to}/#{current_path}/tmp/"
queue "touch #{deploy_to}/#{current_path}/tmp/restart.txt"
invoke 'foreman:restart'
end
Aucun commentaire:
Enregistrer un commentaire