Stellate Product Updates logo
Back to Homepage Subscribe to Updates

Product Updates

See the latest new features, improvements, and product updates

Labels

  • All Posts
  • Fix
  • Announcement
  • Improvement
  • graph api
  • feature

Jump to Month

  • March 2023
  • January 2023
  • September 2022
  • August 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
Announcement
a year 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.

Avatar of authorMarko Locher