- Place
deploy.sh
in{docpad folder}/bin/
- Create (or edit) a
.env
file 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
.deployignore
file in docpad folder with the following values:
**.svn
.git
.gitignore
- Test with
./bin/deploy.sh -n
deploy with./bin/deploy.sh