Skip to content

stormkit-io/runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stormkit Runner

This repository allows Stormkit to use GitHub actions to run the deployments.

Configuring Stormkit to use this Repository

Fork this repository and make sure to set the following environments variables for both API and Workerserver Services:

Environment Variable Value Description
STORMKIT_DEPLOYER_SERVICE github Instructs Stormkit to use GitHub Actions.
GITHUB_RUNNER :namespace/:repository The repository name, including namespace/owner (e.g. stormkit-io/runner).
GITHUB_APP_TOKEN <access-token> A personal access token that grants access to this GitHub repository.

Default Branch

Make sure to use main as the default branch for this repository.

Generating an Access Token

  1. Go to github.com
  2. Click on your Avatar > Settings
  3. Scroll down and click on Developer Settings
  4. Expand Personal Access Tokens
  5. Click on Tokens (classic) if you'd like to create a token without expiration
  6. Click on Fine-grained tokens if you'd like to create a token with expiration

Note: If you're using a Fine-grained token make sure to expand Repository permissions and grant Access: Read and write to Actions item.

Setting Environments Variables

After having created a new repository by forking this template we need to specify the STORMKIT_APP_SECRET environment variable to handle encrypted data. To do that:

  1. Visit your repository
  2. Click on Settings
  3. On the left navigation menu find and expand Security > Secrets and variables
  4. Click on Actions
  5. Click on New repository secret
  6. Create a new secret called STORMKIT_APP_SECRET and make sure that it matches the secret used by other microservices.

License

Check out our License.

About

Template to own a Stormkit Runner service on GitHub.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published