mirror of
https://github.com/FranP-code/countries.git
synced 2025-10-13 00:02:15 +00:00
Publish the schema to engine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user