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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -