diff --git a/.travis.yml b/.travis.yml index 28d46ec5ca..a01de71360 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,13 @@ node_js: - '8' before_install: - chmod +x ./test/functional/test.sh +deploy: + provider: script + script: cd docs && ../index.js build && ../index.js deploy --travis + skip_cleanup: true + on: + tags: true + condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+ cache: directories: - node_modules