Skip to content

Commit 0d99819

Browse files
author
Noah Lee
authored
Change the subtitle of Hero (#39)
* Change the subtitle with GitHub related message. * Split deployment and rollback
1 parent 9177994 commit 0d99819

File tree

4 files changed

+26
-19
lines changed

4 files changed

+26
-19
lines changed

docs/concepts/deployment.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ sidebar_position: 3
44

55
# Deployment
66

7-
## Deploy & Rollback
8-
9-
### Deploy
7+
## How to deploy?
108
**Gitploy provides an intuitive UI that allows users to deploy a specific `ref`.** The UI provides three types of `ref`: *commit*, *branch*, and *tag*. The UI shows a list of options for each type. For example, the UI shows the current commit list with information such as SHA, description, committer if the user selects a commit.
119

1210
When the user selects `ref`, an icon indicating the commit's status appears on the right, and you can check the subset of contexts by clicking the icon. This information can be handy if you use the `required_contexts` field, which specifies a subset of contexts that must be `success`.
@@ -15,17 +13,6 @@ After that, when you click the deploy button, Gitploy sends a deployment request
1513

1614
![Deploy](../../static/img/docs/deploy.png)
1715

18-
### Rollback
19-
We generally run `git revert` and merge the code to roll back. But in this process, we must wait for CI for a long time, which causes an impact on users. Therefore, the rollback must be done quickly and accurately.
20-
21-
**Gitploy provides a quick and easy one-click rollback.** The UI shows a list of completed deployments of which status is `success` when the user selects a runtime environment. And the first option is just the previous deployment.
22-
23-
After that, when the user clicks rollback, Gitploy fetches the payload from the previous deployment and sends a deployment request with the payload to Github. The `ref` from the previous deployment is used in this case. *However, if the ref of the previous deployment is a branch, Gitploy uses SHA to prevent the head of the branch from being deployed.*
24-
25-
*Note that `auto_merge: false` is set internally to avoid merge conflicts when rollback.*
26-
27-
![Rollback](../../static/img/docs/rollback.png)
28-
2916
## Deployment Status
3017
Gitploy provides the UI to view the status after deployment. If you click `View Detail` of the deployment history on the Home tab, the link will take you to the page.
3118

docs/concepts/rollback.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
sidebar_position: 3
3+
---
4+
5+
# Rollback
6+
7+
## How to roll back?
8+
We generally run `git revert` and merge the code to roll back. But in this process, we must wait for CI for a long time, which causes an impact on users. Therefore, the rollback must be done quickly and accurately.
9+
10+
**Gitploy provides a quick and easy one-click rollback.** The UI shows a list of completed deployments of which status is `success` when the user selects a runtime environment. And the first option is just the previous deployment.
11+
12+
After that, when the user clicks rollback, Gitploy fetches the payload from the previous deployment and sends a deployment request with the payload to Github. The `ref` from the previous deployment is used in this case. *However, if the ref of the previous deployment is a branch, Gitploy uses SHA to prevent the head of the branch from being deployed.*
13+
14+
*Note that `auto_merge: false` is set internally to avoid merge conflicts when rollback.*
15+
16+
![Rollback](../../static/img/docs/rollback.png)

src/components/HomepageDemo.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import Link from '@docusaurus/Link';
23
import clsx from 'clsx';
34
import styles from './HomepageDemo.module.css';
45

@@ -7,9 +8,13 @@ export default function HomepageDemo() {
78
<section className="padding-vert--xl">
89
<div className="container">
910
<div className="text--center">
10-
<h2>BUILD A POWERFUL DEPLOYMENT SYSTEM</h2>
11-
<p>Gitploy provides a fast, safe and secure deployment pipeline to your organization. <br/> Build your deployment system in minutes.</p>
11+
<h2>TAKE ADVANTAGE OF A POWERFUL DEPLOYMENT</h2>
12+
<p>
13+
Gitploy provides the way to deploy in the same manner regardless of types of applications<br/>
14+
and to set up a deployment pipeline with a simple configuration file.
15+
</p>
1216
<img className={clsx(styles.image, 'shadow--md', )} src={require('../../static/img/docs/gitploy-v3.gif').default}/>
17+
<p><Link to="/docs">Explore the documents</Link> to see everything Gitploy can do.</p>
1318
</div>
1419
</div>
1520
</section>

src/pages/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import Layout from '@theme/Layout';
44
import Link from '@docusaurus/Link';
55
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
66
import styles from './index.module.css';
7-
import HomepageFeatures from '../components/HomepageFeatures';
87
import HomepageDemo from '../components/HomepageDemo';
98
import HomepageInstallation from '../components/HomepageInstallation';
109

@@ -19,8 +18,8 @@ function HomepageHeader() {
1918
</div>
2019
<div className="col col--8 col--offset-2">
2120
<p className="hero__subtitle">
22-
It enables your organization <strong>to deploy in the same manner</strong> regardless of the type of applications
23-
and <strong>to set up a deployment pipeline differently</strong> with a simple configuration file for each application.
21+
Deploy <strong>any branch, tag, or commit</strong> to <strong>different runtime environments</strong> with a click.
22+
It doesn't get any simpler than that.
2423
</p>
2524
</div>
2625
</div>

0 commit comments

Comments
 (0)