Fix build issue in backend-ci.yml
This commit is contained in:
2
.github/workflows/backend-ci.yml
vendored
2
.github/workflows/backend-ci.yml
vendored
@@ -28,6 +28,7 @@ jobs:
|
|||||||
# Run dotnet build and publish
|
# Run dotnet build and publish
|
||||||
- name: dotnet build and publish
|
- name: dotnet build and publish
|
||||||
run: |
|
run: |
|
||||||
|
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 --configuration Release --output '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/backend-app'
|
||||||
@@ -38,4 +39,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 }}
|
||||||
|
B
|
||||||
package: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/backend-app'
|
package: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/backend-app'
|
||||||
|
|||||||
Reference in New Issue
Block a user