Push with Git

A Tokay hosted Git repository keeps deployment in the same commit and push workflow you use locally. After the remote and credential are configured, each push prepares an update from that exact commit.

AI agent? Start with llms.txt.

Start with Git

Local Git repository setup

  1. 1

    Create or choose a repository. Under Add code, choose Git and create a repository or select one already in the Workspace.

  2. 2

    Choose Git access. Add an SSH key for normal local development or create a git token for HTTPS and CI. The credential can cover all accessible repositories, one Workspace, or one repository.

  3. 3

    Add the Tokay remote and push. Follow the commands shown on the repository setup page.

  4. 4

    Review the detected Services. Tokay identifies each runnable Service with its runtime, type, root, and entry point.

  5. 5

    Deploy the first version. Confirm the configuration and choose Deploy for the Service you want to run.

git remote add tokay <your-repo-url>
git add . && git commit -m "Initial commit"
git push tokay

What happens after git push

Tokay analyzes the pushed commit and surfaces any new Service, environment value, or database requirement before deployment. Managed database migrations are rehearsed against a copy of the current data before production.

The Project's auto-deploy setting decides whether a prepared update deploys automatically or waits for Update on the Service page.

Read the detailed git reference in the docs