You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: auto-deployment/index.md
+14-8Lines changed: 14 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ On GitHub everything revolves around repositories. In a lot of cases these repos
13
13
14
14
* Push changes to the application when the default branch is pushed to.
15
15
* Push changes to the application when the default branch passes ci tests.
16
-
* Continuously push branch deploys when new commits are added and tests pass.<b>Unimplemented</b>
16
+
* Continuously push branch deploys when new commits are added and tests pass.
17
17
18
18
The goal of the auto-deployment service is to use the [GitHub Deployment API](https://developer.github.com/v3/repos/deployments/) to facilitate workflows regardless of how you're getting your code out to update your applications. This decouples the workflows from the act of delivering the code.
19
19
@@ -24,26 +24,32 @@ Right now there's only two easy ways to deploy. You can use [heaven](https://git
| github_token | A GitHub [personal oauth token]() with `repo:deployment` scope |
32
+
| environments | A comma delimited list of environments to deploy to automatically. |
33
+
| push_on_status | When set to `1` deployments are only created on successful commit statuses. |
34
+
| status_contexts | A comma delimimted list of commit status context names to verify against.<b>Unimplemented</b>|
35
+
36
+
These values are all available in your repository's admin settings under the Webhooks & Services section.
37
+
27
38
### Chat Configuration
28
39
29
-
You can configure things on a per-repo basis via chat with the [hubot-auto-deploy](https://github.com/atmos/hubot-auto-deploy) script. This saves you from having to constantly look up a GitHub API token. Hubot will configure the auto-deploy integration for you from chat.
40
+
The easiest way to configure auto-deployment is via Hubot. You can configure things on a per-repo basis via hubot with the [hubot-auto-deploy](https://github.com/atmos/hubot-auto-deploy) script. This saves you from having to do things like look up a GitHub API token or remember the exact syntax.
Upon receiving a push to the default branch, GitHub emits a deployment event for that sha. This is great for workflows like "push to heroku" to see your changes live in 30-60 seconds.
Upon receiving a [commit status](https://developer.github.com/v3/repos/statuses/) to the default branch, GitHub emits a deployment event if the build was successful.
43
-
44
-
## Deployment
45
-
46
-
This is all managed on your GitHub instance through the Settings section for your repo. You simply provide a GitHub personal access token with the `repo:deployment` scope.
52
+
Upon receiving a [commit status](https://developer.github.com/v3/repos/statuses/) to the default branch, GitHub emits a deployment event if the commit status is successful.
0 commit comments