From e36f465e2ae1ab2ce4f8ffb0820a509e0afb01bd Mon Sep 17 00:00:00 2001 From: Wang Jie Date: Tue, 17 Oct 2017 07:23:42 +0800 Subject: [PATCH] Update deploy-to-cloud-btn.md (#4937) --- docker-cloud/apps/deploy-to-cloud-btn.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-cloud/apps/deploy-to-cloud-btn.md b/docker-cloud/apps/deploy-to-cloud-btn.md index 8e93b8f73f..ded71229a4 100644 --- a/docker-cloud/apps/deploy-to-cloud-btn.md +++ b/docker-cloud/apps/deploy-to-cloud-btn.md @@ -29,7 +29,7 @@ and relative path): The user can still modify the stack definition before deployment. -## Adding the 'Deploy to Docker Cloud' button in GitHub +## Add the 'Deploy to Docker Cloud' button in GitHub You can simply add the following snippet to your `README.md` file: @@ -40,7 +40,7 @@ You can simply add the following snippet to your `README.md` file: Docker Cloud will detect the HTTP referer header and deploy the stack file found in the repository, branch and relative path where the source `README.md` file is stored. -## Adding the 'Deploy to Docker Cloud' button in Docker Hub +## Add the 'Deploy to Docker Cloud' button in Docker Hub If the button is displayed on the Docker Hub, Docker Cloud cannot automatically detect the source GitHub repository, branch and path. In this case, edit the repository description and add the following code: @@ -51,7 +51,7 @@ If the button is displayed on the Docker Hub, Docker Cloud cannot automatically where `` is the path to your GitHub repository (see below). -## Adding the 'Deploy to Docker Cloud' button anywhere else +## Add the 'Deploy to Docker Cloud' button anywhere else If you want to use the button somewhere else (i.e. from external documentation, or a landing site), you just need to create a link to the following URL: