Skip to content

Commit

Permalink
Add or update the Azure App Service build and deployment workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-Medeiros committed Aug 27, 2023
1 parent ca52797 commit 63d4305
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-azure_ecommerce-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
include-prerelease: true

- name: Build with dotnet
run: dotnet build src/ --configuration Release
run: dotnet build --configuration Release

- name: dotnet publish
run: dotnet publish src/ -c Release -o ${{env.DOTNET_ROOT}}/myapp
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
Expand All @@ -53,5 +53,5 @@ jobs:
with:
app-name: 'ecommerce-backend'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_A2988F9C519D48E997D51ECB3B0ED9B1 }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_4A7920E434C04F3DA6089A952B628744 }}
package: .

0 comments on commit 63d4305

Please sign in to comment.