ruby - How can I deploy middleman to a VPS? -
i have middleman project want deploy vps. documentation of middleman(build/deploy) poor , gem name there (middleman-deploy) not working.
my question how can deploy project in own hand without gem? build folder enough deployment? mean, can copy folder production server or else? thank you.
you right
simply copy /build
, push vps.
if want automate task have @ after_build
method
https://middlemanapp.com/advanced/custom-extensions#after_build
'bundle exec middleman build', 'echo "== build project =="', 'cd build/', 'git add -a', 'git commit -m build', 'echo "== pushing changes =="', 'git push origin master',
Comments
Post a Comment