Skip to content

Commit

Permalink
Update deployment script Python version to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasKratzig committed May 7, 2024
1 parent 13a11c1 commit 0d388c8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main_webapp-milligramankratzi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Python version
uses: actions/setup-python@v1
with:
python-version: '3.8'
python-version: '3.12'

- name: Create and start virtual environment
run: |
Expand Down Expand Up @@ -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,13 +61,13 @@ jobs:
- name: Unzip artifact for deployment
run: unzip release.zip


- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_EA4A2BE4C1284A0ABD2B0740B51F248D }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_8851AE2F04AC4C849A145973BD13A196 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_9AC2A9784AAD46A8833D95E5964DFA45 }}

- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_EA4A2BE4C1284A0ABD2B0740B51F248D }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_8851AE2F04AC4C849A145973BD13A196 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_9AC2A9784AAD46A8833D95E5964DFA45 }}

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
Expand Down

0 comments on commit 0d388c8

Please sign in to comment.