Deployments

Stormkit is able to build and deploy your application. The underlying infrastructure service is AWS. Static assets will be hosted on S3 buckets, which will then be served through our CDN. If you have server side logic, then your application will be run on AWS Lambdas.

There are multiple ways to trigger a deployment:

Git Push

  1. Visit your application
  2. Go to the Settings page
  3. Make sure to have the Auto Deployments configuration turned on.
  4. Submit a commit.

Stormkit will receive a push event and will build, deploy and leave a preview link under the Pull Request page of your branch. Stormkit picks up the environment configuration based on the branch name. You can read more here.

Through the UI

  1. Visit your application
  2. Click on Deploy Now button on the top right side
  3. Select your Environment in the modal

By default, the Environment configuration will be used to deploy your application but you can overwrite that configuration for one-time by specifying different values in the modal.

Trigger

  1. Visit your application
  2. Go to the Settings page
  3. Find the Trigger Deploy section
  4. Click generate

This will create a link that will trigger a deployment. You can either use a GET or a POST request. Optionally, you can specify a publish and branch parameter.

Here's an example for the POST method:

curl -XPOST https://api.stormkit.io/hooks/app/:app-id/deploy/:token/:environment-id \
   -H 'Content-Type: application/json'
   -d '{"publish": true|false, "branch": ":branch-name"}'
info
Make sure not to share this URL publicly.