Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit b7ec0ba

Browse files
author
noah
committed
Move the doc of auto-deploy
1 parent b6ca327 commit b7ec0ba

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

docs/concepts/deploy.yml.md

+12
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,18 @@ envs:
5050
- integration-test
5151
production_environment: true
5252
```
53+
54+
### Auto Deploy
55+
56+
Gitploy provides not only manual deployment but also auto-deployment. Gitploy is listening for the push event dispatched from GitHub and triggers to deploy automatically when the ref is matched with the `auto_deploy_on` of the configuration file.
57+
58+
```yaml
59+
envs:
60+
- name: production
61+
auto_deploy_on: refs/heads/main
62+
production_environment: true
63+
```
64+
5365
### Review
5466

5567
Gitploy provides the review process. You can list up to users on the configuration file. You can check the [document](./review.md) for the detail.

docs/concepts/deployment.md

-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ Figure) Deploy
1212

1313
![deploy](../images/deploy.png)
1414

15-
## Auto Deploy
16-
17-
Gitploy provides not only manual deployment but also auto-deployment. Gitploy is listening for the push event dispatched from GitHub and trigger to deploy automatically when the ref is matched with the `auto_deploy_on` of the configuration file.
18-
1915
## Rollback
2016

2117
Rollback is the best way to recover while you fix the problems, and Gitploy supports the rollback. You can choose one of the deployed references for the environment to roll back.

0 commit comments

Comments
 (0)