Continuous Deployment of Templates
This document explains how to deploy your static site templates to TakeShape whenever you push to your Git repository. It's possible to use your favorite CI/CD provider such as CircleCI, TravisCI, Netlify, Jenkins, etc. Here are the basic steps:
- Make sure that your have configured a Static Site.
- In your local development environment run
npx tsg initand select the site that you wish to deploy to.
initresults in a
.tsgrcfile to be written to your working directory. Copy the
- In your CI Provider set the variables you copied it step 2 as environment variables
- Set your build command to
npx tsg deploy
Now when you push updates to your template code CI will push your templates to TakeShape and TakeShape will deploy static HTML to your configured host.