- 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
Would love to see this as a plugin! See http://docpad.org/p/ghpages for a base