Search code examples
web-deploymenthtml5boilerplategit-ftp

How to deploy html5 boilerplate publish folder ( probably using git-ftp )


I am still searching for a good development -> deployment workflow (mostly for smaller websites) using html5 boilerplate + build script, gitHub, and probably git-ftp.

The problem is I can’t figure out a cool way of how to deploy the publish folder of html5 boilerplate to my webserver (where I normally have no ssh access)

How do you do it?

What if the website uses a CMS like redaxo?


Solution

  • use the syncroot option of git-ftp to specify the directory to sync from as if it were the git project root path. In .git/config under [git-ftp] add

    syncroot = publish/