diff --git a/.travis.yml b/.travis.yml index dfd8e16..4048b6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,6 @@ branches: only: - master -env: - global: - - GH_REF=github.com/developmentseed/dustduino-server.git - - secure: CbzgND/x3QGeJmVIpLpjuHMn9SFuRkpyWL65KjLanM7k+h86JfmeYaOxnL/6yXYeh6klzYOq8lBQQZayfC9Pre0acrucNB0vyRBLfoW7zeUWeIuQ9Nz1JpjDNNtovDz19mpP8JxzsvzoWdIsfvT8hfeN1/P2a5V+lzZGn50c/9I= - install: echo 'no install' script: echo 'no scripts' diff --git a/README.md b/README.md index 9d6c4da..cf8b5b9 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A REST API for DustDuino air quality sensors [![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) -For API documentation [click here](http://devseed.com/dustduino-server/). +For API documentation [click here](http://api.opendustmap.com). ## Deployment to Heroku @@ -36,3 +36,9 @@ Start the server ``` python sensor_rest_api/manage.py runserver ``` +## Docs Deployment + +This project is set up with [Travis](https://travis-ci.org/) deploy scripts already included which will deploy documentation to `gh-pages`. To utilize these, you will need to enable the repo on the Travis system and include the following two environment variables. + +- **GH_REF** - the URL of the repo, similar to `github.com/developmentseed/dustduino-server.git` +- **GH_TOKEN** - a GitHub personal access token available from https://github.com/settings/tokens \ No newline at end of file