3 years ago
Environment support
In order to make it as easy as possible to manage staging or dev environments, the graphcdn CLI now supports environments
in the graphcdn.yml
!
Here is an example of what that looks like:
name: my-product schema: api.product.com/graphql originUrl: api.product.com/graphql environments: staging: name: my-app-staging schema: staging.product.com/graphql originUrl: staging.product.com/graphql
You can then push to or pull from the staging
environment by running the corresponding commands with the --env
argument:
# Push to staging graphcdn push --env staging # Pull from staging graphcdn pull --env staging
Learn more in the environments documentation.