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
There's three different types of auto-deployment behavior, deploy on push, deploy on status, and continuously deploying topic branches. They work like this:
14
+
There's two different types of auto-deployment behavior, deploy on push and deploy on status. They work like this:
15
15
16
16
### Deploy on Push
17
17
18
-
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.
18
+
Upon receiving a push to the default branch, GitHub emits a deployment event for that sha. This is great for workflows where you push to GitHub and see changes on heroku in 30-60 seconds.
19
19
20
20
Example:
21
21
@@ -35,20 +35,6 @@ Example:
35
35
* GitHub creates a deployment for your successful commit status.
36
36
* The HerokuBeta service picks up the deployment and pushes your master branch out.
37
37
38
-
### Branch based continuous deployment
39
-
40
-
<em>This is currently unimplemented</em>
41
-
42
-
Example:
43
-
44
-
* You deploy a non-default branch from chat `/deploy myapp/mybranch`.
45
-
* The HerokuBeta service picks up the deployment and pushes your 'mybranch' branch out.
46
-
* You add commits and push to the 'mybranch' branch.
47
-
* GitHub dispatches a push event to your CI system.
48
-
* Your CI system calls back to GitHub stating that the commit passed tests.
49
-
* GitHub creates a deployment for your successful commit status on the deployed branch.
50
-
* The HerokuBeta service picks up the deployment and pushes your 'mybranch' branch out.
51
-
52
38
## Setup
53
39
54
40
Auto-Deployment is available as a [github service](https://github.com/github/github-services) and is configured in your repository's admin settings under the Webhooks & Services section.
@@ -80,3 +66,17 @@ The easiest way to configure auto-deployment is via Hubot. You can configure thi
80
66
* More real-world testing.
81
67
* Support for status_contexts and multi-commit status aware.
82
68
* Support for continuous-deployment on branch deploys.
69
+
70
+
### Branch based continuous deployment
71
+
72
+
<em>Desired, but currently unimplemented</em>
73
+
74
+
Example:
75
+
76
+
* You deploy a non-default branch from chat `/deploy myapp/mybranch`.
77
+
* The HerokuBeta service picks up the deployment and pushes your 'mybranch' branch out.
78
+
* You add commits and push to the 'mybranch' branch.
79
+
* GitHub dispatches a push event to your CI system.
80
+
* Your CI system calls back to GitHub stating that the commit passed tests.
81
+
* GitHub creates a deployment for your successful commit status on the deployed branch.
82
+
* The HerokuBeta service picks up the deployment and pushes your 'mybranch' branch out.
0 commit comments