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:
|
||||
dotnet-version: ${{ env.DOTNET_VERSION }}
|
||||
|
||||
# Run dotnet build and publish
|
||||
# Run dotnet publish
|
||||
- name: dotnet build and publish
|
||||
run: |
|
||||
cd backend
|
||||
dotnet restore
|
||||
dotnet build --configuration Release
|
||||
dotnet publish --no-build --configuration Release --artifacts-path ./publish/
|
||||
dotnet publish --configuration Release --artifacts-path ./publish/
|
||||
|
||||
# Deploy to Azure WebApp
|
||||
- name: Deploy to Azure WebApp
|
||||
@@ -38,4 +36,5 @@ jobs:
|
||||
with:
|
||||
app-name: ${{ env.AZURE_WEBAPP_NAME }}
|
||||
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
|
||||
package: './publish/web/'
|
||||
A
|
||||
package: './publish/publish/Web/release/'
|
||||
|
||||
Reference in New Issue
Block a user