diff --git a/.github/workflows/master_ibiosim-connector-api.yml b/.github/workflows/master_ibiosim-connector-api.yml index 7521fdf..5c94b63 100644 --- a/.github/workflows/master_ibiosim-connector-api.yml +++ b/.github/workflows/master_ibiosim-connector-api.yml @@ -41,26 +41,26 @@ jobs: path: . deploy: - runs-on: windows-latest + runs-on: ubuntu-latest needs: build - environment: - name: 'Production' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - permissions: - id-token: write #This is required for requesting the JWT + # 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 uses: actions/download-artifact@v3 with: name: node-app - - - name: Login to Azure - uses: azure/login@v1 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_D7D7F1878E664862BE6297E1BCFE890E }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A0A16FDCD79447EC80712F23332CF68F }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_B808785F17EF4367B5928B8E2DFAC5B5 }} + + - name: Login to Azure + uses: azure/login@v1 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_D7D7F1878E664862BE6297E1BCFE890E }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A0A16FDCD79447EC80712F23332CF68F }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_B808785F17EF4367B5928B8E2DFAC5B5 }} - name: 'Run Azure Functions Action' uses: Azure/functions-action@v1 @@ -69,4 +69,4 @@ jobs: app-name: 'ibiosim-connector-api' slot-name: 'Production' package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }} - \ No newline at end of file +