diff --git a/.github/workflows/main_edually-pilot.yml b/.github/workflows/main_edually-pilot.yml index 7109ae0..f8d96ad 100644 --- a/.github/workflows/main_edually-pilot.yml +++ b/.github/workflows/main_edually-pilot.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Python version uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Create and start virtual environment run: | @@ -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 @@ -61,13 +61,13 @@ jobs: - name: Unzip artifact for deployment run: unzip release.zip - - - name: Login to Azure - uses: azure/login@v2 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_0A08F493C53E40EEAE82243E543CC0D0 }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_6156B9CDC10D409AA7CFCA4EB15A2026 }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_643C3A5D8D46415ABAE3FE14D817B82E }} + + - name: Login to Azure + uses: azure/login@v2 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_0A08F493C53E40EEAE82243E543CC0D0 }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_6156B9CDC10D409AA7CFCA4EB15A2026 }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_643C3A5D8D46415ABAE3FE14D817B82E }} - name: 'Deploy to Azure Web App' uses: azure/webapps-deploy@v3 @@ -75,4 +75,4 @@ jobs: with: app-name: 'edually-pilot' slot-name: 'Production' - \ No newline at end of file +