github.com/buildtool/build-tools@v0.2.29-0.20240322150259-6a1d0a553c23/www/docs/config/gitops.md (about) 1 # Gitops 2 3 `gitops` is the equivalent to [targets](./targets.md), but determines where the generated files from 4 `promote` will end up. 5 6 Each `<name>` must be unique and contains the [git push url](https://git-scm.com/docs/git-push) and 7 the path inside the repository where the files will be stored. 8 9 ```yaml 10 gitops: 11 <name>: 12 url: 13 path: 14 ``` 15 16 | Parameter | Description | 17 | :------ | :--------------------------------------------------- | 18 | `url` | The git URL (for example `git@github.com:buildtool/build-tools.git`) | 19 | `path` | Root path in the repository, files will be put under `$path/$name`, defaults to `/` | 20 21 ## Examples 22 23 ````yaml 24 gitops: 25 local: 26 url: git@github.com:buildtool/build-tools.git 27 path: local 28 prod: 29 url: git@github.com:buildtool/build-tools.git 30 path: prod 31 ````