bash
make install
First create config file at ~/.lezeh
, we're using Hjson format.
```bash { # As of now, you just need to set phab config, # please see https://github.com/sendyhalim/phab for more details phab: { apitoken: ... pkcs12path: ... host: https://yourphabricatorhost.com pkcs12password: ... }, ghub: { # This is your github personal token, # you need to register token with a full repository write access. apitoken: abc123 },
# Deployment command config deployment: { repositories: [ { key: "repo-name" path: "repo-local-path" github_path: "username/reponame"
# This config will be used when you're running
# deploy command, example:
# ```
# lezeh deployment deploy repo-name <stg|prod>
# ```
deployment_scheme_by_key: {
stg: {
name: "Deploy to stg"
default_pull_request_title: "Merge into stg"
merge_from_branch: "master"
merge_into_branch: "stg"
}
prod: {
name: "Deploy to prod"
default_pull_request_title: "Merge into prod"
merge_from_branch: "stg"
merge_into_branch: "prod"
}
}
}
]
} } ```
```bash
#
lezeh deployment merge-all