diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml index c708580d..e5ebb423 100644 --- a/.github/workflows/pr-verify.yml +++ b/.github/workflows/pr-verify.yml @@ -12,6 +12,7 @@ on: permissions: contents: read + id-token: write jobs: build: @@ -46,12 +47,19 @@ jobs: needs: build # wait for other job to finish g steps: - - uses: actions/download-artifact@v4 with: name: my-artifact path: artifacts/ + - name: Azure login + uses: azure/login@v2 + with: + client-id: ${{ secrets.AZURE_CLIENT_ID }} + tenate-id: ${{ secrets.AZURE_TENATE_ID }} + subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} + + # Deploy to Azure Web apps - name: 'Deploy to Azure App Service' uses: azure/webapps-deploy@v2