Skip to content

Commit

Permalink
Tabular format for trigger modes
Browse files Browse the repository at this point in the history
  • Loading branch information
james2791 committed Aug 31, 2023
1 parent dec0b0b commit 81daf78
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pages/apis/rest_api/pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,13 @@ Additional properties available for GitHub:
<tr>
<th><code>trigger_mode</code></th>
<td>
What type of event to trigger builds on. <code>code</code> will create builds when code is pushed to GitHub. <code>deployment</code> will create builds when a deployment is created with the <a href="https://developer.github.com/v3/repos/deployments/">GitHub Deployments API</a>. <code>fork</code> will create builds when the GitHub repository is forked. <code>none</code> will not create any builds based on GitHub activity.
What type of event to trigger builds on.
<ul>
<li><code>code</code> creates builds when code is pushed to GitHub.</li>
<li><code>deployment</code> creates builds when a deployment is created with the <a href="https://developer.github.com/v3/repos/deployments/">GitHub Deployments API</a>.</li>
<li><code>fork</code> creates builds when the GitHub repository is forked.</li>
<li><code>none</code> will not create any builds based on GitHub activity.</li>
</ul>
<p class="Docs__api-param-eg"><em>Values:</em> <code>code</code>, <code>deployment</code>, <code>fork</code>, <code>none</code></p></td>
</tr>
<tr>
Expand Down

0 comments on commit 81daf78

Please sign in to comment.