Skip to content

Commit e8cd211

Browse files
committed
fixing double {{ }} issues
1 parent b4022d3 commit e8cd211

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Instructions/Labs/07-implement-cicd-sql-database-projects.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ If your server supports SQL authentication, you only need a connection string se
257257
258258
When prompted, paste the full connection string (with the real password) and press **Enter**.
259259
260-
> 📝 GitHub encrypts the secret value. It's never visible in logs or to anyone viewing the repository. The workflow accesses it through `${{ secrets.SQL_CONNECTION_STRING }}`.
260+
> 📝 GitHub encrypts the secret value. It's never visible in logs or to anyone viewing the repository. The workflow accesses it through `{% raw %}${{ secrets.SQL_CONNECTION_STRING }}{% endraw %}`.
261261

262262
1. Skip ahead to the **Create the GitHub Actions workflow** section and use **Option A** for the workflow YAML.
263263

@@ -366,7 +366,7 @@ Create a workflow file that builds the SQL project and deploys the `.dacpac` to
366366
- name: Deploy to Azure SQL Database
367367
uses: azure/sql-action@v2.3
368368
with:
369-
connection-string: ${{ secrets.SQL_CONNECTION_STRING }}
369+
connection-string: {% raw %}${{ secrets.SQL_CONNECTION_STRING }}{% endraw %}
370370
path: ./bin/Debug/AdventureWorksDB.dacpac
371371
action: publish
372372
```
@@ -407,14 +407,14 @@ Create a workflow file that builds the SQL project and deploys the `.dacpac` to
407407
- name: Azure Login
408408
uses: azure/login@v2
409409
with:
410-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
411-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
412-
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
410+
client-id: {% raw %}${{ secrets.AZURE_CLIENT_ID }}{% endraw %}
411+
tenant-id: {% raw %}${{ secrets.AZURE_TENANT_ID }}{% endraw %}
412+
subscription-id: {% raw %}${{ secrets.AZURE_SUBSCRIPTION_ID }}{% endraw %}
413413
414414
- name: Deploy to Azure SQL Database
415415
uses: azure/sql-action@v2.3
416416
with:
417-
connection-string: ${{ secrets.SQL_CONNECTION_STRING }}
417+
connection-string: {% raw %}${{ secrets.SQL_CONNECTION_STRING }}{% endraw %}
418418
path: ./bin/Debug/AdventureWorksDB.dacpac
419419
action: publish
420420
```

0 commit comments

Comments
 (0)