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
Copy file name to clipboardExpand all lines: docs/cloud/features/ci.mdx
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,9 +73,10 @@ When a PR is opened or updated:
73
73
<Step title="Add a repository secret">
74
74
Go to **Settings > Secrets and variables > Actions** in your GitHub repository and add:
75
75
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. |
79
80
80
81
The review only runs on PRs that touch model files. Other PRs are ignored.
81
82
@@ -123,10 +124,11 @@ When a PR is opened or updated:
123
124
<Step title="Add CI/CD variables">
124
125
Go to **Settings > CI/CD > Variables** and add:
125
126
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). |
130
132
131
133
To post the MR comment, the template uses one of two authentication methods:
0 commit comments