Publish the schema to engine

This commit is contained in:
Trevor Blades
2018-11-05 12:44:37 -08:00
parent 1e77d13e98
commit 82c21fa4a6

View File

@@ -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