Skip to content

Commit 15724e6

Browse files
committed
updates
1 parent 6a84661 commit 15724e6

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

articles/azure-resource-manager/templates/deploy-to-azure-button.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
title: Deploy to Azure button
33
description: Use button to deploy Azure Resource Manager templates from a GitHub repository.
44
ms.topic: conceptual
5-
ms.date: 02/03/2020
5+
ms.date: 02/05/2020
66
---
7-
# Use button to deploy templates from GitHub repository
7+
# Use a deployment button to deploy templates from GitHub repository
88

9-
This article describes how to use the **Deploy to Azure** button to deploy templates from a GitHub repository. You can add the button directly to your GitHub repository or to a web page that references the repository.
9+
This article describes how to use the **Deploy to Azure** button to deploy templates from a GitHub repository. You can add the button directly to the README.md file in your GitHub repository or to a web page that references the repository.
1010

1111
## Use common image
1212

@@ -28,7 +28,13 @@ To create the URL for your template, start with the raw URL to the template in y
2828
https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-storage-account-create/azuredeploy.json
2929
```
3030

31-
Then, URL encode it.
31+
Then, URL encode it. You can use an online encoder or run a command. The following PowerShell example shows how to URL encode a value.
32+
33+
```powershell
34+
[uri]::EscapeDataString($url)
35+
```
36+
37+
The example URL has the following value when URL encoded.
3238

3339
```html
3440
https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json
@@ -50,7 +56,7 @@ You have your full URL for the link.
5056

5157
## Create Deploy to Azure button
5258

53-
Finally, put the link and image together.
59+
Finally, put the link and image together. You can add this HTML to either the README.md file in your GitHub repository or a web page.
5460

5561
```html
5662
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json" target="_blank">

0 commit comments

Comments
 (0)