Changed output for artifacts-path to fix issue compiling solution
This commit is contained in:
5
.github/workflows/backend-ci.yml
vendored
5
.github/workflows/backend-ci.yml
vendored
@@ -7,7 +7,6 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
AZURE_WEBAPP_NAME: hutopy-backend-api
|
AZURE_WEBAPP_NAME: hutopy-backend-api
|
||||||
AZURE_WEBAPP_PACKAGE_PATH: '.'
|
|
||||||
DOTNET_VERSION: '8.0.x'
|
DOTNET_VERSION: '8.0.x'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -31,7 +30,7 @@ jobs:
|
|||||||
cd backend
|
cd backend
|
||||||
dotnet restore
|
dotnet restore
|
||||||
dotnet build --configuration Release
|
dotnet build --configuration Release
|
||||||
dotnet publish --configuration Release --output '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/backend-app'
|
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
|
||||||
@@ -39,4 +38,4 @@ 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: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/backend-app'
|
package: './publish/web/'
|
||||||
|
|||||||
Reference in New Issue
Block a user