Setup
Techulus Cloud integrates with GitHub through a GitHub App. To enable it:- Create a GitHub App and configure it with your control plane URL.
- Set the following environment variables on the control plane:
- Install the GitHub App on your GitHub account or organization.
Connecting a Repository
Once the GitHub App is installed, connect a repository to a service:- Set the service source type to
github. - Select the repository from your installed GitHub accounts.
- Choose the branch to deploy from (defaults to
main). - Optionally set a root directory if your app isn’t at the repository root.
Auto-Deploy
When auto-deploy is enabled (the default), pushing to the configured branch triggers a build and deployment automatically. The flow:- GitHub sends a push webhook to the control plane.
- The control plane creates a build for the new commit.
- An agent claims the build, clones the repository, and builds the image.
- On success, a rollout deploys the new image.
Build Process
Agents build images using one of two methods:Custom Dockerfile Path
To use a Dockerfile at a different path or with a different name, set aTECHULUS_DOCKERFILE_PATH environment variable on the service, e.g. TECHULUS_DOCKERFILE_PATH=docker/prod.Dockerfile.
- The path is relative to the build context (the repository root, or the service’s root directory if set).
- When set, the Dockerfile build method is always used — if the file doesn’t exist, the build fails instead of falling back to Railpack.
Build logs stream to Victoria Logs in real time and are viewable from the web UI.
