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
{{ message }}
This repository was archived by the owner on May 30, 2024. It is now read-only.
The worst thing that can happen is someone deploys to the same repository during an incident. The lock helps with this. We provide the locking system to block deployments that are going out to the environment.
3
+
The worst thing that can happen is someone deploys to the same repository during an incident. The lock helps with this. We provide the locking system to block deployments going out to the environment.
4
4
5
-
You can lock the environment simply by clicking the button in the UI.
6
-
7
-
Figure) Lock
5
+
You can lock the environment simply by clicking the `LOCK` button in the UI. And if you want to reserve unlock, you can configure the auto-unlock timer.
Gitploy has the review to require at least one approval for the deployment. You can list up to users on the configuration file. The reviewers must have at least read access to the repository.
3
+
Gitploy has the review to require at least one approval for the deployment. You can list up to reviewers on the configuration file. The reviewers must be logged in and have read permission for the repository.
4
4
5
5
## Review process
6
6
7
-
1\. To enable review, you must configure like the below:
7
+
1\. To enable review, you must configure the `review` field first.
8
8
9
9
```yaml
10
10
envs:
11
11
- name: production
12
-
auto_merge: true
13
12
review:
14
13
enabled: true
15
-
reviewers: ["USER_LOGIN"]
14
+
reviewers: ["USER_LOGIN1", "USER_LOGIN2"]
16
15
```
17
16
18
-
2\. When the user deploys in the 'deploy' tab, Gitploy requests a review to reviewers. And the deployment is waiting until one of the reviews is approved.
17
+
2\. When a user deploys in the 'deploy' tab, Gitploy automatically requests a review to reviewers. A reviewer should check what is changed from the latest one.
19
18
20
-

19
+

20
+
21
+
3\. Finally, a reviewer confirms to approve or reject the deployment, and the `deploy` button will be enabled if a reviewer approves.
22
+
23
+
*I recommend that a reviewer use the `Approve and Deploy` to let a reviewer acknowledges that the deployment is started.*
24
+
25
+

26
+
27
+
## Notification
28
+
29
+
Gitploy notifies users when a review is requested or responded to. You can check the [documentation](./notification.md) for the detail.
Copy file name to clipboardExpand all lines: docs/tasks/integration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
GitHub Actions help you automate tasks to run an actual deployment. GitHub Actions are event-driven, meaning that you can run a series of commands after a deployment event has occurred.
6
6
7
-
To listening the deployment event, you must specify `deployment` for the `on` field. And you can use the `if` conditional to run a job for the specific environment. Here is the example below.
7
+
You must specify `deployment` for the `on` field to listen for the deployment event. And you can use the `if` conditional to run a job for a specific environment. Here is the example below.
0 commit comments