diff --git a/.travis.yml b/.travis.yml index 4e74e6f..510297c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,8 @@ cache: - node_modules before_script: node -r esm index.js & after_success: npx apollo schema:check --endpoint=http://localhost:$PORT +deploy: + provider: script + script: npx apollo schema:publish --endpoint=http://localhost:$PORT + on: + branch: master