Skip to content

Commit

Permalink
Updated workflows to deploy to Azure
Browse files Browse the repository at this point in the history
  • Loading branch information
anjanak13 committed Jan 27, 2025
1 parent b4c1cac commit f87e6cd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main_race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read #This is required for actions/checkout

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -54,7 +56,8 @@ jobs:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write # This is required for requesting the JWT
id-token: write #This is required for requesting the JWT
contents: read #This is required for actions/checkout

steps:
- name: Download artifact from build job
Expand All @@ -68,15 +71,15 @@ jobs:
- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_8A90312F0932446BB07DD766F66B54DF }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_C4C22A37C00D4290909D077974D49245 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_B24423AB7D2F4102B62AAF52F12B0E14 }}
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_4EEDC6D03AC54F6CA6EA3B00638CBA80 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A2F4AD5204B749149F9DEC201A1811D1 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_262E0DF1434C43069D3A94EF9ADFD0F6 }}

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
with:
app-name: 'Race'
app-name: 'RacePulseRFID'
slot-name: 'Production'
package: .

0 comments on commit f87e6cd

Please sign in to comment.