This is an example of a StepZen project using the StepZen Github Action to deploy the schema on StepZen.
To try it out for yourself, do a sparse checkout of this folder, move the contents of action.yml
to your .github/workflows folder
in a new action.yml
file, make a minor change (say, to this README), and push it to trigger the workflow.
To use the deployment action, add these two Github repository secrets:
SZ_ACCOUNT
SZ_ADMIN_KEY
If you don't have a StepZen account, sign up for StepZen to obtain an account name and admin key for these values.
GITHUB_WORKSPACE
is another environment variable in the entrypoint.sh
script for the Docker file. It is provided by default.