Git and previews
Connect GitHub so every push builds and every pull request gets a URL.
Connect a repository
In the dashboard, choose New project, then Import a repository. After you connect GitHub, pick a repository and Vantrex creates the project and runs a first build.
What happens on a push
| Event | Result |
|---|---|
| Push to the production branch | A production deployment. Production moves to it once it is ready. |
| Push to any other branch | A preview deployment with its own URL. |
| Pull request | A preview, plus a commit status on the pull request linking to it. |
Templates
A template creates a new repository for you, already wired to a project. Pick one from New project and the first deployment starts straight away.
Deploying without Git
You do not need a repository. vtx deploy uploads a folder directly. See the Quickstart.