Skip to content

Commit 5bdc069

Browse files
authored
Merge pull request #2189 from elementary-data/update-ci-review-docs
Update ci review docs
2 parents 07151d0 + c2ba6f7 commit 5bdc069

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

docs/cloud/features/ci.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ When a PR is opened or updated:
7373
<Step title="Add a repository secret">
7474
Go to **Settings > Secrets and variables > Actions** in your GitHub repository and add:
7575
76-
| Secret | Description |
77-
|---|---|
78-
| `ELEMENTARY_API_KEY` | Your Elementary Cloud API key |
76+
| Secret | Required | Description |
77+
|---|---|---|
78+
| `ELEMENTARY_API_KEY` | Yes | Your Elementary Cloud API key |
79+
| `ELEMENTARY_ENV_ID` | No | Your Elementary environment ID. Only needed when the repository is connected to multiple environments. |
7980

8081
The review only runs on PRs that touch model files. Other PRs are ignored.
8182

@@ -123,10 +124,11 @@ When a PR is opened or updated:
123124
<Step title="Add CI/CD variables">
124125
Go to **Settings > CI/CD > Variables** and add:
125126

126-
| Variable | Masked | Description |
127-
|---|---|---|
128-
| `ELEMENTARY_API_KEY` | Yes | Your Elementary Cloud API key |
129-
| `GITLAB_API_TOKEN` | Yes | Optional. Project Access Token with `api` scope. Set this if you cannot enable CI/CD job token API access in project settings. |
127+
| Variable | Masked | Required | Description |
128+
|---|---|---|---|
129+
| `ELEMENTARY_API_KEY` | Yes | Yes | Your Elementary Cloud API key |
130+
| `ELEMENTARY_ENV_ID` | Yes | No | Your Elementary environment ID. Only needed when the repository is connected to multiple environments. |
131+
| `GITLAB_API_TOKEN` | Yes | No | Project Access Token with `api` scope. Only needed if you cannot enable CI/CD job token access (see below). |
130132

131133
To post the MR comment, the template uses one of two authentication methods:
132134

0 commit comments

Comments
 (0)