This action deploys a StepZen schema assuming the environment has been logged into a StepZen account.
First release
- Node
- StepZen CLI must be installed, see stepzen-dev/stepzen-install action.
- Logged into StepZen account, see stepzen-dev/stepzen-login action.
dir
- directory containing index.graphqlfolder
- folder name for the endpointname
- name for the endpointtag
- tag to be appended to endpoint name (default empty), typically useful when testing to create a unique endpoint.
endpoint
- Endpoint name, for exampleapi/customers
url
- Full URL of the deployed GraphQL endpoint
- uses: stepzen-dev/stepzen-deploy
with:
workspace: "schema/customers'
folder: qa
name: customers
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 }}