From 82c21fa4a6c9adee4fce9883a89a0e467251d4f9 Mon Sep 17 00:00:00 2001 From: Trevor Blades Date: Mon, 5 Nov 2018 12:44:37 -0800 Subject: [PATCH] Publish the schema to engine --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) 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