Skip to content

stepzen-dev/stepzen-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

stepzen-login

This action deploys a StepZen schema assuming the environment has been logged into a StepZen account.

What's new

First release

Usage

Pre-requisites

Inputs

  • dir - directory containing index.graphql
  • folder - folder name for the endpoint
  • name - name for the endpoint
  • tag - tag to be appended to endpoint name (default empty), typically useful when testing to create a unique endpoint.

Outputs

  • endpoint - Endpoint name, for example api/customers
  • url - Full URL of the deployed GraphQL endpoint

Examples

Standard deployment

- uses: stepzen-dev/stepzen-deploy
  with:
    workspace: "schema/customers'
    folder: qa
    name: customers

Unit testing

Using a tag such as the GitHub run identifier can ensure that concurrent runs of workflows do not conflict with each other.

- uses: stepzen-dev/stepzen-deploy
  with:
    workspace: "schema/customers"
    folder: unittest
    name: customers
    tag: ${{ github.run_id }}

About

GitHub action to deploy a StepZen schema.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published