mirror of
https://git.alemi.dev/tci.git
synced 2024-11-23 08:34:51 +01:00
docs: say that it runs only on .tci branch
This commit is contained in:
parent
7e1fd5fe3e
commit
e59a5a34ff
1 changed files with 3 additions and 2 deletions
|
@ -24,11 +24,12 @@ 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)
|
||||
* 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
|
||||
* run `.tci` script (you can change it by setting git config `tci.path`)
|
||||
* print script's `STDOUT` to console
|
||||
* run `.tci` script (customizable in repo settings)
|
||||
* print script's `stdout` and `stderr` to console
|
||||
* delete temporary directory
|
||||
|
||||
and that's it! could not be simpler
|
||||
|
|
Loading…
Reference in a new issue