Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit ba07ace

Browse files
author
Noah Hanjun Lee
authored
Add auto_deploy_on field to enable auto deployment (#225)
* Add 'owner_id' field to Repo * Fix to update owner_id when it activates a repo * Add the handler for 'push' events to deploy automatically * Add the doc for 'auto_deploy_on'
1 parent 50c979f commit ba07ace

33 files changed

+1465
-87
lines changed

docs/references/deploy.yml.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Field |Type |Required |Description
1818
`payload` |*object* or *string* |`false` |This field is JSON payload with extra information about the deployment.
1919
`production_environment` |*boolean* |`false` |This field specifies whether this runtime environment is production or not.
2020
`deployable_ref` |*string* |`false` |This field specifies which the ref(branch, SHA, tag) is deployable or not. It supports the regular expression, [re2](https://github.com/google/re2/wiki/Syntax) by Google, to match the ref.
21+
`auto_deploy_on` |*string* |`false` |This field controls auto-deployment behaviour given a ref(branch, SHA, tag). It supports the regular expression, [re2](https://github.com/google/re2/wiki/Syntax) by Google, to match the ref.
2122
`review` |*[Review](#review)* |`false` |This field configures review.
2223

2324
## Review

ent/client.go

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ent/migrate/schema.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)