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
+10-16Lines changed: 10 additions & 16 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
@@ -85,15 +86,7 @@ When a PR is opened or updated:
85
86
</Step>
86
87
</Steps>
87
88
88
-
<AccordionGroup>
89
-
<Accordion title="Optional: customize the action">
90
-
91
-
| Input | Default | Description |
92
-
|---|---|---|
93
-
| `elementary-api-url` | Elementary Cloud | Override the API URL. Only needed for self-hosted Elementary setups |
94
-
95
-
</Accordion>
96
-
<Accordion title="Optional: specify environment">
89
+
<Accordion title="Optional: specify environment">
97
90
98
91
If your repository is connected to multiple Elementary environments, add `env-id` to specify which one to use:
99
92
@@ -123,10 +116,11 @@ When a PR is opened or updated:
123
116
<Step title="Add CI/CD variables">
124
117
Go to **Settings > CI/CD > Variables** and add:
125
118
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. |
119
+
| Variable | Masked | Required | Description |
120
+
|---|---|---|---|
121
+
| `elementary_api_key` | Yes | Yes | Your Elementary Cloud API key |
122
+
| `elementary_env_id` | Yes | No | Your Elementary environment ID. Only needed when the repository is connected to multiple environments. |
123
+
| `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
124
131
125
To post the MR comment, the template uses one of two authentication methods:
0 commit comments