Skip to content

Commit

Permalink
Update azure_app_testmwa2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveKueng authored Jun 1, 2024
1 parent 80528d6 commit d81ec01
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/azure_app_testmwa2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
source venv/bin/activate
- name: Install dependencies
run: pip install -r requirements.txt
run: pip install -r app/requirements.txt

# Optional: Add step to run tests here (PyTest, Django test suites, etc.)

Expand All @@ -49,8 +49,8 @@ jobs:
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
Expand All @@ -61,18 +61,18 @@ jobs:
- name: Unzip artifact for deployment
run: unzip release.zip


- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_5D34A048A52045AC8CA344886640ABAF }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_068ED198817046B7A507439446918056 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_E446C4628EB9489A91851D2504C830EC }}

- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_5D34A048A52045AC8CA344886640ABAF }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_068ED198817046B7A507439446918056 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_E446C4628EB9489A91851D2504C830EC }}

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
with:
app-name: 'testmwa2'
slot-name: 'Production'


0 comments on commit d81ec01

Please sign in to comment.