Skip to content

Commit

Permalink
Added API Publish Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sethpulsipher committed Oct 23, 2024
1 parent c8411dc commit 984ff3a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 145 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/BookStoreAppAPI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
env:
AZURE_WEBAPP_NAME: BookStoreAppApi
AZURE_WEBAPP_PACKAGE_PATH: BookStoreApp.API\publish
AZURE_WEBAPP_PUBLISH_PROFILE: ${{ secrets.BookStoreAppApi_984B }}
AZURE_WEBAPP_PUBLISH_PROFILE: ${{ secrets.BookStoreAppApi_6970 }}
CONFIGURATION: Release
DOTNET_CORE_VERSION: 8.0.x
WORKING_DIRECTORY: BookStoreApp.API
Expand Down Expand Up @@ -45,5 +45,5 @@ jobs:
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.BookStoreAppApi_984B }}
publish-profile: ${{ secrets.BookStoreAppApi_6970 }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
49 changes: 0 additions & 49 deletions .github/workflows/BookStoreAppBlazor-Server.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"parameters": {
"resourceGroupName": {
"type": "string",
"defaultValue": "ut-bookstoreapp",
"defaultValue": "BookStoreAppResourceGroup",
"metadata": {
"_parameterType": "resourceGroup",
"description": "Name of the resource group for the resource. It is recommended to put resources under same resource group for better tracking."
}
},
"resourceGroupLocation": {
"type": "string",
"defaultValue": "canadacentral",
"defaultValue": "westus2",
"metadata": {
"_parameterType": "location",
"description": "Location of the resource group. Resource groups could have different location than resources."
Expand Down Expand Up @@ -51,7 +51,7 @@
{
"kind": "v12.0",
"location": "[parameters('resourceLocation')]",
"name": "bookstorebdserver",
"name": "bookstoredbsqlserver",
"type": "Microsoft.Sql/servers",
"apiVersion": "2017-10-01-preview"
},
Expand All @@ -63,11 +63,11 @@
},
"kind": "v12.0,user",
"location": "[parameters('resourceLocation')]",
"name": "bookstorebdserver/BookStoreDb",
"name": "bookstoredbsqlserver/BookStoreDb",
"type": "Microsoft.Sql/servers/databases",
"apiVersion": "2017-10-01-preview",
"dependsOn": [
"bookstorebdserver"
"bookstoredbsqlserver"
]
}
]
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
{
"dependencies": {
"mssql2": {
"serviceConnectorResourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroupName')]/providers/Microsoft.Web/sites/BookStoreAppApi/providers/Microsoft.ServiceLinker/linkers/ConnectionStringsBookStoreDbConnection_56515576BF",
"secretStore": "AzureAppSettings",
"resourceId": "/subscriptions/[parameters('subscriptionId')]/resourcegroups/[parameters('resourceGroupName')]/providers/Microsoft.Sql/servers/bookstorebdserver/databases/BookStoreDb",
"type": "mssql.azure",
"connectionId": "ConnectionStrings:BookStoreDbConnection"
},
"mssql1": {
"serviceConnectorResourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroupName')]/providers/Microsoft.Web/sites/BookStoreAppApi/providers/Microsoft.ServiceLinker/linkers/ConnectionStringsDefaultConnection_394DD698B8",
"secretStore": "AzureAppSettings",
"resourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroupName')]/providers/Microsoft.Sql/servers/bookstorebdserver/databases/BookStoreDb",
"resourceId": "/subscriptions/[parameters('subscriptionId')]/resourcegroups/[parameters('resourceGroupName')]/providers/Microsoft.Sql/servers/bookstoredbsqlserver/databases/BookStoreDb",
"type": "mssql.azure",
"connectionId": "ConnectionStrings:DefaultConnection",
"dynamicId": null
Expand Down

0 comments on commit 984ff3a

Please sign in to comment.