Skip to content

Commit

Permalink
Reapply "Update master_shelfwise.yml"
Browse files Browse the repository at this point in the history
This reverts commit 1c09f4e.
  • Loading branch information
kitepea committed Sep 5, 2024
1 parent 1c09f4e commit 6b35945
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/master_shelfwise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,35 @@ jobs:
run: dotnet build --configuration Release

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

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

deploy:
runs-on: windows-latest
needs: build
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write #This is required for requesting the JWT
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: .net-app

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_CE409AC208034873BADEEA197E5B6BF6 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_67D5697047BD465BA636779201D8A00F }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_718A228B56F54AD6857C1171EE68FFA4 }}

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_CE409AC208034873BADEEA197E5B6BF6 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_67D5697047BD465BA636779201D8A00F }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_718A228B56F54AD6857C1171EE68FFA4 }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
Expand Down

0 comments on commit 6b35945

Please sign in to comment.