sypnia.toml
The one configuration file of your project, and the table that says where your code lives.
sypnia.toml sits at the root of your repository and is the one configuration file of your project: every Sypnia product reads it. At the top it names the project; then each product has a table of its own. Each product reads only its table and ignores the others, and each product’s command line rewrites only its own table, keeping your comments. Secrets never go in it.
format = 1
project = "la-espiga"
[git]
remote = "https://git.app.sypnia.com/laespiga/web.git"
default_branch = "main"
mirror = { github = "laespiga/web" } # a read-only copy on GitHub
[run.apps.laespiga]
kind = "ssr"The [git] table
| Key | Type | What it is |
|---|---|---|
remote | string | where the code lives: your repository in Sypnia Git, or, after you leave, any git address |
default_branch | string | the branch that deploys to production, main by default |
mirror.github | string | owner/repo of the read-only mirror on GitHub, if you keep one |
Run, Cases and Agent read git.remote to find your code. import and export change it for you, and nothing else in the project needs to change.