Skip to content

Commit d821613

Browse files
Fix issue 118375 reported in MicrosoftDocs/azure-docs
1 parent c387e58 commit d821613

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Diff for: articles/postgresql/flexible-server/how-to-deploy-github-action.md

+6-12
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Use Azure Database for PostgreSQL - Flexible Server from a GitHub A
44
author: nachoalonsoportillo
55
ms.author: ialonso
66
ms.reviewer: maghan
7-
ms.date: 04/27/2024
7+
ms.date: 05/21/2024
88
ms.service: postgresql
99
ms.subservice: flexible-server
1010
ms.topic: quickstart
@@ -16,9 +16,7 @@ ms.custom:
1616

1717
# Quickstart: Use GitHub Actions to connect to Azure Database for PostgreSQL - Flexible Server
1818

19-
[!INCLUDE [applies-to-postgresql-single-flexible-server](../includes/applies-to-postgresql-single-flexible-server.md)]
20-
21-
[!INCLUDE [azure-database-for-postgresql-single-server-deprecation](../includes/azure-database-for-postgresql-single-server-deprecation.md)]
19+
[!INCLUDE [applies-to-postgresql-flexible-server](../includes/applies-to-postgresql-flexible-server.md)]
2220

2321
Get started with [GitHub Actions](https://docs.github.com/en/actions) by using a workflow to deploy database updates to [Azure Database for PostgreSQL flexible server](https://azure.microsoft.com/services/postgresql/).
2422

@@ -29,7 +27,7 @@ You need:
2927
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
3028
- A GitHub repository with sample data (`data.sql`). If you don't have a GitHub account, [sign up for free](https://github.com/join).
3129
- An Azure Database for PostgreSQL flexible server instance.
32-
- [Quickstart: Create an Azure Database for PostgreSQL - Flexible Server instance in the Azure portal](../single-server/quickstart-create-server-database-portal.md)
30+
- [Quickstart: Create an Azure Database for PostgreSQL - Flexible Server instance in the Azure portal](quickstart-create-server-portal.md)
3331

3432
## Workflow file overview
3533

@@ -48,14 +46,10 @@ The file has two sections:
4846

4947
## Copy the Azure Database for PostgreSQL flexible server connection string
5048

51-
In the Azure portal, go to your Azure Database for PostgreSQL flexible server instance 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.
52-
53-
> [!IMPORTANT]
54-
> - For Azure Database for PostgreSQL single server, use ```user=adminusername@servername``` . Note the ```@servername``` is required.
55-
> - For Azure Database for PostgreSQL flexible server, use ```user= adminusername``` without the ```@servername```.
49+
In the Azure portal, go to your Azure Database for PostgreSQL flexible server instance and from the resource menu, under **Settings**, select **Connect**. In that page, use the **Database name** combo box to select the name of the database you want to connect to. Expand the **Connect from your app** section, and copy **ADO.NET** connection string, and replace the placeholder value `{your_password}` with your actual password. The connection string looks similar to this.
5650

5751
```output
58-
psql host={servername.postgres.database.azure.com} port=5432 dbname={your_database} user={adminusername} password={your_database_password} sslmode=require
52+
Server={servername.postgres.database.azure.com};Database={your_database};Port=5432;User Id={adminusername};Password={your_password};Ssl Mode=Require;
5953
```
6054

6155
You use the connection string as a GitHub secret.
@@ -230,4 +224,4 @@ When your Azure Database for PostgreSQL flexible server database and repository
230224
> [Learn about Azure and GitHub integration](/azure/developer/github/)
231225
<br/>
232226
> [!div class="nextstepaction"]
233-
> [Learn how to connect to the server](../single-server/how-to-connect-query-guide.md)
227+
> [Learn how to connect to the server](connect-csharp.md)

0 commit comments

Comments
 (0)