mention environment variables for deployment

This commit is contained in:
Matthias Kretschmann 2016-03-19 01:46:36 +01:00
parent 2faeed862a
commit 299bc2f55f
1 changed files with 10 additions and 1 deletions

View File

@ -29,9 +29,18 @@ The following compiles css & js files only:
gulp build
```
## Continuous Delivery
## Deployment: Continuous Delivery
The site gets built & deployed automatically via Codeship under the following conditions:
- every push builds the site
- every push to the master branch initiates a live deployment
The [deployment script](_ci/deploy.sh) requires the following environment variables to be set:
| variable | description
|--|--
| `$DEPLOY_SRC` | source of CI build artifacts. On Codeship this is usually `~/src/github.com/ascribe/wp-theme/ascribe/`
| `$DEPLOY_USER` | user for connecting to deploy server
| `$DEPLOY_HOST` | hostname of deploy server
| `$DEPLOY_PATH` | path to deploy into on deploy server, should be `PATH_ON_SERVER/wp-content/themes/`