diff --git a/README.md b/README.md index f0d8922..4acb8d1 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ most of my CIs are super simple: `cargo doc; cp * /srv/http/docs/`, configuring just set it as `post-update` hook in your repository and, each time such repository gets updated, tci will: * make sure repo is allowed to run CI: checks said repo git config for `tci.allow == true` - * make sure the branch being updated is `.tci` (customizable in server settings) + * make sure the branch being updated is `tci` (customizable in server settings) * create a temp dir (under `/tmp`) with unique name * clone your repository in that dir * change current working directory to be inside your freshly cloned repo diff --git a/src/tci.rs b/src/tci.rs index 8c6bfe8..aed05e5 100644 --- a/src/tci.rs +++ b/src/tci.rs @@ -36,7 +36,7 @@ impl Tci { } match self.cfg.branch.as_deref() { - None => self.repo.updates.contains_branch(".tci"), + None => self.repo.updates.contains_branch("tci"), Some("") => true, Some(b) => self.repo.updates.contains_branch(b), }