Skip to content

Commit cbf17ee

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 4aca7e8 commit cbf17ee

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

content/guides/managing-deploy-keys.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,20 @@ A deploy key is an SSH key that is stored on your server and grants access to a
8989

9090
If your server needs to access multiple repositories, you can choose to create a new {{ site.data.variables.product.product_name }} account and attach an SSH key that will be used exclusively for automation. Since this {{ site.data.variables.product.product_name }} account won't be used by a human, it's called a machine user. You can then [add the machine user as collaborator][collaborator] or [add the machine user to a team][team] with access to the repositories it needs to manipulate. **NOTE**: Adding a machine user as a collaborator always grants read/write access. Adding a machine user to a team grants the permissions of the team.
9191

92+
{% if page.version == 'dotcom' %}
93+
9294
{{#tip}}
9395

94-
**Tip:** Our [terms of service](https://help.github.com/articles/github-terms-of-service) state:
96+
**Tip:** Our [terms of service][tos] state:
9597

9698
> *Accounts registered by "bots" or other automated methods are not permitted.*
9799
98-
This means that you cannot automate the creation of accounts. But if you want to create a single machine user for automating tasks such as deploy scripts in your project or organization, that is totally cool.
100+
This means that you cannot automate the creation of accounts. But if you want to create a single machine user for automating tasks such as deploy scripts in your project or organization, that is totally cool.
99101

100102
{{/tip}}
101103

104+
{% endif %}
105+
102106
#### Pros
103107

104108
* Anyone with access to the repository and server has the ability to deploy the project.
@@ -117,7 +121,7 @@ This means that you cannot automate the creation of accounts. But if you want to
117121

118122
[ssh-agent-forwarding]: /guides/using-ssh-agent-forwarding/
119123
[generating-ssh-keys]: https://help.github.com/articles/generating-ssh-keys
120-
[tos]: https://help.github.com/articles/github-terms-of-service
124+
[tos]: https://help.github.com/articles/github-terms-of-service/
121125
[git-automation]: https://help.github.com/articles/git-automation-with-oauth-tokens
122126
[collaborator]: https://help.github.com/articles/how-do-i-add-a-collaborator
123127
[team]: https://help.github.com/articles/adding-organization-members-to-a-team

0 commit comments

Comments
 (0)