Skip to content

Commit 96bd97f

Browse files
committed
asdf
1 parent dfbae94 commit 96bd97f

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/azure-webapps-dotnet-core.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ name: Build and deploy ASP.Net Core app to an Azure Web App
2121

2222
env:
2323
AZURE_WEBAPP_NAME: whateverbruh # set this to the name of your Azure Web App
24-
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
24+
AZURE_WEBAPP_PACKAGE_PATH: './whateverAPI' # set this to the path to your web app project
2525
DOTNET_VERSION: '9' # set this to the .NET Core version to use
2626

2727
on:
@@ -54,9 +54,11 @@ jobs:
5454
5555
- name: Build with dotnet
5656
run: dotnet build --configuration Release
57+
working-directory: ./whateverAPI
5758

5859
- name: dotnet publish
5960
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp
61+
working-directory: ./whateverAPI
6062

6163
- name: Upload artifact for deployment job
6264
uses: actions/upload-artifact@v4
@@ -80,10 +82,7 @@ jobs:
8082
name: .net-app
8183
path: .
8284

83-
- name: Set Node.js version for deployment
84-
uses: azure/appservice-settings@v1
85-
with:
86-
app-name: ${{ env.AZURE_WEBAPP_NAME }}
85+
8786

8887
- name: Deploy to Azure Web App
8988
id: deploy-to-webapp

0 commit comments

Comments
 (0)