Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
Isuranga-2001 committed May 27, 2024
1 parent 12a2acb commit 4d40cbe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/production_firststepdowhile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
- name: Build with dotnet
run: dotnet build FirstStep/Firststep.csproj --configuration Release

- name: dotnet publish
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}\firststep
- name: Publish with dotnet
run: dotnet publish FirstStep/Firststep.csproj --configuration Release --output ./published

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: .net-app
path: ${{env.DOTNET_ROOT}}\firststep
path: ./published

deploy:
runs-on: windows-latest
Expand All @@ -45,6 +45,7 @@ jobs:
uses: actions/download-artifact@v4
with:
name: .net-app
path: ./published

- name: Deploy to Azure Web App
id: deploy-to-webapp
Expand All @@ -53,4 +54,4 @@ jobs:
app-name: 'firststepdowhile'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_D30400F869564A889270825B210BE0D7 }}
package: .
package: ./published

0 comments on commit 4d40cbe

Please sign in to comment.