Make headings different so TOC works.

This commit is contained in:
Luke Kysow
2018-07-25 14:50:01 +02:00
parent 6e14c200f3
commit 08c19ed721
2 changed files with 20 additions and 20 deletions

View File

@@ -125,7 +125,7 @@ set commit statuses.
## Start Atlantis
Now you're ready to start Atlantis! The exact command depends on your Git host:
### GitHub
### GitHub Command
```bash
atlantis server \
--atlantis-url="$URL" \
@@ -135,7 +135,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### GitHub Enterprise
### GitHub Enterprise Command
```bash
HOSTNAME=YOUR_GITHUB_ENTERPRISE_HOSTNAME # ex. github.runatlantis.io
atlantis server \
@@ -147,7 +147,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### GitLab
### GitLab Command
```bash
atlantis server \
--atlantis-url="$URL" \
@@ -157,7 +157,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### GitLab Enterprise
### GitLab Enterprise Command
```bash
HOSTNAME=YOUR_GITLAB_ENTERPRISE_HOSTNAME # ex. gitlab.runatlantis.io
atlantis server \
@@ -169,7 +169,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### Bitbucket Cloud (bitbucket.org)
### Bitbucket Cloud (bitbucket.org) Command
```bash
atlantis server \
--atlantis-url="$URL" \
@@ -178,7 +178,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### Bitbucket Server (aka Stash)
### Bitbucket Server (aka Stash) Command
```bash
BASE_URL=YOUR_BITBUCKET_SERVER_URL # ex. http://bitbucket.mycorp:7990
atlantis server \

View File

@@ -55,7 +55,7 @@ SECRET="{YOUR_RANDOM_STRING}"
## Add Webhook
Take the URL that ngrok output and create a webhook in your GitHub, GitLab or Bitbucket repo:
### GitHub or GitHub Enterprise
### GitHub or GitHub Enterprise Webhook
<details>
<summary>Expand</summary>
<ul>
@@ -80,7 +80,7 @@ Take the URL that ngrok output and create a webhook in your GitHub, GitLab or Bi
</ul>
</details>
### GitLab or GitLab Enterprise
### GitLab or GitLab Enterprise Webhook
<details>
<summary>Expand</summary>
<ul>
@@ -101,7 +101,7 @@ Take the URL that ngrok output and create a webhook in your GitHub, GitLab or Bi
</ul>
</details>
### Bitbucket Cloud (bitbucket.org)
### Bitbucket Cloud (bitbucket.org) Webhook
<details>
<summary>Expand</summary>
<ul>
@@ -122,7 +122,7 @@ Take the URL that ngrok output and create a webhook in your GitHub, GitLab or Bi
</ul>
</details>
### Bitbucket Server (aka Stash)
### Bitbucket Server (aka Stash) Webhook
<details>
<summary>Expand</summary>
<ul>
@@ -146,7 +146,7 @@ We recommend using a dedicated CI user or creating a new user named **@atlantis*
you can use your own user. Here we'll create the access token that Atlantis uses to comment on the pull request and
set commit statuses.
### GitHub or GitHub Enterprise
### GitHub or GitHub Enterprise Access Token
- follow [https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/#creating-a-token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/#creating-a-token)
- create a token with **repo** scope
- set the token as an environment variable
@@ -154,7 +154,7 @@ set commit statuses.
TOKEN="{YOUR_TOKEN}"
```
### GitLab or GitLab Enterprise
### GitLab or GitLab Enterprise Access Token
- follow [https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html#creating-a-personal-access-token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html#creating-a-personal-access-token)
- create a token with **api** scope
- set the token as an environment variable
@@ -162,7 +162,7 @@ TOKEN="{YOUR_TOKEN}"
TOKEN="{YOUR_TOKEN}"
```
### Bitbucket Cloud (bitbucket.org)
### Bitbucket Cloud (bitbucket.org) Access Token
- follow [https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html#Apppasswords-Createanapppassword](https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html#Apppasswords-Createanapppassword)
- Label the password "atlantis"
- Select **Pull requests**: **Read** and **Write** so that Atlantis can read your pull requests and write comments to them
@@ -171,7 +171,7 @@ TOKEN="{YOUR_TOKEN}"
TOKEN="{YOUR_TOKEN}"
```
### Bitbucket Server (aka Stash)
### Bitbucket Server (aka Stash) Access Token
- Click on your avatar in the top right and select **Manage account**
- Click **Personal access tokens** in the sidebar
- Click **Create a token**
@@ -196,7 +196,7 @@ REPO_WHITELIST="$YOUR_GIT_HOST/$YOUR_USERNAME/$YOUR_REPO"
```
Now you can start Atlantis. The exact command differs depending on your Git Host:
### GitHub
### GitHub Command
```bash
atlantis server \
--atlantis-url="$URL" \
@@ -206,7 +206,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### GitHub Enterprise
### GitHub Enterprise Command
```bash
HOSTNAME=YOUR_GITHUB_ENTERPRISE_HOSTNAME # ex. github.runatlantis.io
atlantis server \
@@ -218,7 +218,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### GitLab
### GitLab Command
```bash
atlantis server \
--atlantis-url="$URL" \
@@ -228,7 +228,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### GitLab Enterprise
### GitLab Enterprise Command
```bash
HOSTNAME=YOUR_GITLAB_ENTERPRISE_HOSTNAME # ex. gitlab.runatlantis.io
atlantis server \
@@ -240,7 +240,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### Bitbucket Cloud (bitbucket.org)
### Bitbucket Cloud (bitbucket.org) Command
```bash
atlantis server \
--atlantis-url="$URL" \
@@ -249,7 +249,7 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
### Bitbucket Server (aka Stash)
### Bitbucket Server (aka Stash) Command
```bash
BASE_URL=YOUR_BITBUCKET_SERVER_URL # ex. http://bitbucket.mycorp:7990
atlantis server \