- Place
deploy.shin{docpad folder}/bin/ - Create (or edit) a
.envfile in your docpad folder with the following values:
#!/bin/bash
DEPLOY_SOURCE_DIR="out/"
DEPLOY_DEST_DIR="~/public_html/"
DEPLOY_SERVER=deploy-server-name
DEPLOY_ACCOUNT=deploy-login-name- Create a
.deployignorefile in docpad folder with the following values:
**.svn
.git
.gitignore- Test with
./bin/deploy.sh -ndeploy with./bin/deploy.sh
Thanks, very useful!
I encountered a small problem (source: not found) when I forgot to make deploy.sh executable and executed it with
sh ./bin/deploy.shinstead. Otherwise it worked perfectly!