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: azure-sql/database/connect-github-actions-sql-db.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Use Azure SQL Database from a GitHub Actions workflow
4
4
author: juliakm
5
5
ms.author: jukullam
6
6
ms.reviewer: wiassaf, mathoma
7
-
ms.date: 02/11/2025
7
+
ms.date: 08/05/2025
8
8
ms.service: azure-sql-database
9
9
ms.subservice: connect
10
10
ms.topic: quickstart
@@ -26,14 +26,14 @@ You need:
26
26
27
27
## Workflow file overview
28
28
29
-
A GitHub Actions workflow is defined by a YAML (.yml) file in the `/.github/workflows/` path in your repository. This definition contains the various steps and parameters that make up the workflow.
29
+
A GitHub Actions workflow is defined by a YAML (.yml) file in the `/.github/workflows/` path in your repository. This file has the steps and parameters that make up the workflow.
@@ -69,7 +69,7 @@ You'll set the connection string as a GitHub secret, `AZURE_SQL_CONNECTION_STRIN
69
69
70
70
2. Select **Set up your workflow yourself**.
71
71
72
-
3. Delete everything after the `on:` section of your workflow file. For example, your remaining workflow may look like this.
72
+
3. Delete everything after the `on:` section of your workflow file. For example, your remaining workflow can look like this.
73
73
74
74
```yaml
75
75
name: SQL for GitHub Actions
@@ -132,14 +132,14 @@ You'll set the connection string as a GitHub secret, `AZURE_SQL_CONNECTION_STRIN
132
132
5. Use the Azure SQL Deploy action to connect to your SQL instance. You should have a dacpac package (`Database.dacpac`) at the root level of your repository. Use the `AZURE_SQL_CONNECTION_STRING` GitHub secret you created earlier.
6. 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.
142
+
5. 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.
143
143
144
144
# [OpenID Connect](#tab/openid)
145
145
@@ -162,6 +162,12 @@ You'll set the connection string as a GitHub secret, `AZURE_SQL_CONNECTION_STRIN
0 commit comments