You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what an amazing tool ! The missing piece of the puzzle for a framework like rails.
i am actually so impressed i was wondering if i could use it to deploy plain HTML, CSS websites.
i installed gem install mina on an empty directory and run mina init which created the deploy.rb file
i configured the basic settings like deploy_to, user, repository and so on
but when i run mina setup nothing happens and when i run mina deploy i get
Don't know how to build task 'deploy:cleanup'
and if comment that out i get
TypeError: no implicit conversion of nil into String
/var/www/static-mina/deploy.rb:50:in `block in <top (required)>'
desc "Deploys the current version to the server."
task :deploy do
#uncomment this line to make sure you pushed your local branch to the remote origin
#invoke :'git:ensure_pushed' deploy do #<- line 50
#Put things that will set up an empty directory into a fully set-up
#instance of your project.
invoke :'git:clone'
#invoke :'deploy:cleanup'
end
#you can use run :local to run tasks on local machine before of after the deploy scripts
#run(:local){ say 'done' }
end
i searched but didn't find something relevant
thanks
alex
The text was updated successfully, but these errors were encountered:
hi guys
what an amazing tool ! The missing piece of the puzzle for a framework like rails.
i am actually so impressed i was wondering if i could use it to deploy plain HTML, CSS websites.
i installed
gem install mina
on an empty directory and runmina init
which created thedeploy.rb
filei configured the basic settings like
deploy_to
,user
,repository
and so onbut when i run
mina setup
nothing happens and when i runmina deploy
i getDon't know how to build task 'deploy:cleanup'
and if comment that out i get
TypeError: no implicit conversion of nil into String
/var/www/static-mina/deploy.rb:50:in `block in <top (required)>'
desc "Deploys the current version to the server."
task :deploy do
#uncomment this line to make sure you pushed your local branch to the remote origin
#invoke :'git:ensure_pushed'
deploy do #<- line 50
#Put things that will set up an empty directory into a fully set-up
#instance of your project.
invoke :'git:clone'
#invoke :'deploy:cleanup'
end
#you can use
run :local
to run tasks on local machine before of after the deploy scripts#run(:local){ say 'done' }
end
i searched but didn't find something relevant
thanks
alex
The text was updated successfully, but these errors were encountered: