@@ -289,7 +289,7 @@ The environment variable `AZURE_WEBAPP_PACKAGE_PATH` sets the path to your web a
289
289
run: |
290
290
dotnet restore
291
291
dotnet build --configuration Release
292
- dotnet publish -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp'
292
+ dotnet publish -c Release --property:PublishDir= '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp'
293
293
` ` `
294
294
**ASP.NET**
295
295
@@ -383,7 +383,7 @@ jobs:
383
383
run: |
384
384
dotnet restore
385
385
dotnet build --configuration Release
386
- dotnet publish -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp'
386
+ dotnet publish -c Release --property:PublishDir= '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp'
387
387
388
388
# Deploy to Azure Web apps
389
389
- name: 'Run Azure webapp deploy action using publish profile credentials'
@@ -598,7 +598,7 @@ jobs:
598
598
run: |
599
599
dotnet restore
600
600
dotnet build --configuration Release
601
- dotnet publish -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp'
601
+ dotnet publish -c Release --property:PublishDir= '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp'
602
602
603
603
# Deploy to Azure Web apps
604
604
- name: 'Run Azure webapp deploy action using publish profile credentials'
@@ -841,7 +841,7 @@ jobs:
841
841
run: |
842
842
dotnet restore
843
843
dotnet build --configuration Release
844
- dotnet publish -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp'
844
+ dotnet publish -c Release --property:PublishDir= '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp'
845
845
846
846
# Deploy to Azure Web apps
847
847
- name: 'Run Azure webapp deploy action using publish profile credentials'
0 commit comments