BACKEND-CI: fix artifact location
This commit is contained in:
9
.github/workflows/backend-ci.yml
vendored
9
.github/workflows/backend-ci.yml
vendored
@@ -24,13 +24,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: ${{ env.DOTNET_VERSION }}
|
dotnet-version: ${{ env.DOTNET_VERSION }}
|
||||||
|
|
||||||
# Run dotnet build and publish
|
# Run dotnet publish
|
||||||
- name: dotnet build and publish
|
- name: dotnet build and publish
|
||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
dotnet restore
|
dotnet publish --configuration Release --artifacts-path ./publish/
|
||||||
dotnet build --configuration Release
|
|
||||||
dotnet publish --no-build --configuration Release --artifacts-path ./publish/
|
|
||||||
|
|
||||||
# Deploy to Azure WebApp
|
# Deploy to Azure WebApp
|
||||||
- name: Deploy to Azure WebApp
|
- name: Deploy to Azure WebApp
|
||||||
@@ -38,4 +36,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
app-name: ${{ env.AZURE_WEBAPP_NAME }}
|
app-name: ${{ env.AZURE_WEBAPP_NAME }}
|
||||||
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
|
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
|
||||||
package: './publish/web/'
|
A
|
||||||
|
package: './publish/publish/Web/release/'
|
||||||
|
|||||||
Reference in New Issue
Block a user