Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurgolo committed Feb 29, 2024
2 parents f31634e + 2fff44b commit aebcb9c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main_scouting7127.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
Expand All @@ -55,12 +57,19 @@ jobs:

- name: Unzip artifact for deployment
run: unzip release.zip

- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_0AC67681D2C642CA99BA55B267E2751C }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_D326984F21B74C5CA30CC7780B5FF295 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_E7F62A838BA04944B0A7430B5B6BF73B }}

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
with:
app-name: 'Scouting7127'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_EC691B8978674A549C7C7DD389A10940 }}
package: .

0 comments on commit aebcb9c

Please sign in to comment.