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
Copy file name to clipboardExpand all lines: articles/mysql/single-server/quickstart-mysql-github-actions.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.subservice: single-server
7
7
ms.topic: quickstart
8
8
ms.author: jukullam
9
9
ms.custom: github-actions-azure, mode-other
10
-
ms.date: 10/26/2022
10
+
ms.date: 02/15/2023
11
11
---
12
12
13
13
# Quickstart: Use GitHub Actions to connect to Azure MySQL
@@ -49,7 +49,7 @@ The file has two sections:
49
49
50
50
## Copy the MySQL connection string
51
51
52
-
In the Azure portal, go to your Azure Database for MySQL server and open **Settings** > **Connection strings**. Copy the **ADO.NET** connection string. Replace the placeholder values for `your_database` and `your_password`. The connection string will look similar to the following.
52
+
In the Azure portal, go to your Azure Database for MySQL server and open **Settings** > **Connection strings**. Copy the **ADO.NET** connection string. Replace the placeholder values for `your_database` and `your_password`. The connection string looks similar to the following.
53
53
54
54
> [!IMPORTANT]
55
55
>
@@ -84,7 +84,7 @@ You'll use the connection string as a GitHub secret.
84
84
branches: [ main ]
85
85
```
86
86
87
-
4. Rename your workflow `MySQL for GitHub Actions` and add the checkout and login actions. These actions will check out your site code and authenticate with Azure using the `AZURE_CREDENTIALS` GitHub secret you created earlier.
87
+
4. Rename your workflow `MySQL for GitHub Actions` and add the checkout and login actions. These actions check out your site code and authenticate with Azure using the `AZURE_CREDENTIALS` GitHub secret you created earlier.
88
88
89
89
# [Service principal](#tab/userlevel)
90
90
@@ -142,7 +142,7 @@ You'll use the connection string as a GitHub secret.
142
142
sql-file: './data.sql'
143
143
```
144
144
145
-
6. Complete your workflow by adding an action to sign out of Azure. Here's the completed workflow. The file will appear in the `.github/workflows` folder of your repository.
145
+
6. Complete your workflow by adding an action to sign out of Azure. Here's the completed workflow. The file appears in the `.github/workflows` folder of your repository.
Copy file name to clipboardExpand all lines: articles/postgresql/single-server/how-to-deploy-github-action.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.author: sunila
8
8
author: sunilagarwal
9
9
ms.reviewer: ""
10
10
ms.custom: github-actions-azure, mode-other
11
-
ms.date: 06/24/2022
11
+
ms.date: 02/15/2023
12
12
---
13
13
14
14
# Quickstart: Use GitHub Actions to connect to Azure PostgreSQL
@@ -21,7 +21,7 @@ Get started with [GitHub Actions](https://docs.github.com/en/actions) by using a
21
21
22
22
## Prerequisites
23
23
24
-
You will need:
24
+
You'll need:
25
25
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
26
26
- A GitHub repository with sample data (`data.sql`). If you don't have a GitHub account, [sign up for free](https://github.com/join).
27
27
- An Azure Database for PostgreSQL server.
@@ -44,7 +44,7 @@ The file has two sections:
44
44
45
45
## Copy the PostgreSQL connection string
46
46
47
-
In the Azure portal, go to your Azure Database for PostgreSQL server and open **Settings** > **Connection strings**. Copy the **ADO.NET** connection string. Replace the placeholder values for `your_database` and `your_password`. The connection string will look similar to this.
47
+
In the Azure portal, go to your Azure Database for PostgreSQL server and open **Settings** > **Connection strings**. Copy the **ADO.NET** connection string. Replace the placeholder values for `your_database` and `your_password`. The connection string looks similar to this.
48
48
49
49
> [!IMPORTANT]
50
50
> - For Single server use ```user=adminusername@servername``` . Note the ```@servername``` is required.
@@ -54,7 +54,7 @@ In the Azure portal, go to your Azure Database for PostgreSQL server and open **
You will use the connection string as a GitHub secret.
57
+
You'll use the connection string as a GitHub secret.
58
58
59
59
## Configure the GitHub secrets
60
60
@@ -78,7 +78,7 @@ You will use the connection string as a GitHub secret.
78
78
branches: [ main ]
79
79
```
80
80
81
-
1. Rename your workflow `PostgreSQL for GitHub Actions` and add the checkout and login actions. These actions will checkout your site code and authenticate with Azure using the GitHub secret(s) you created earlier.
81
+
1. Rename your workflow `PostgreSQL for GitHub Actions` and add the checkout and login actions. These actions check out your site code and authenticate with Azure using the GitHub secret(s) you created earlier.
82
82
83
83
# [Service principal](#tab/userlevel)
84
84
@@ -134,7 +134,7 @@ You will use the connection string as a GitHub secret.
134
134
sql-file: './data.sql'
135
135
```
136
136
137
-
3. Complete your workflow by adding an action to logout of Azure. Here is the completed workflow. The file will appear in the `.github/workflows` folder of your repository.
137
+
3. Complete your workflow by adding an action to logout of Azure. Here's the completed workflow. The file appears in the `.github/workflows` folder of your repository.
0 commit comments