File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787
8888 echo "Power BI API permissions configured"
8989 - name : Provision Infrastructure
90+ id : provision
91+ continue-on-error : true
9092 run : azd provision --no-prompt
9193 env :
9294 AZD_INITIAL_ENVIRONMENT_CONFIG : ${{ secrets.AZD_INITIAL_ENVIRONMENT_CONFIG }}
9395 principalType : ' ServicePrincipal'
96+ - name : Re-authenticate for Retry
97+ if : steps.provision.outcome == 'failure'
98+ uses : azure/login@v2
99+ with :
100+ client-id : ${{ vars.AZURE_CLIENT_ID }}
101+ tenant-id : ${{ vars.AZURE_TENANT_ID }}
102+ subscription-id : ${{ vars.AZURE_SUBSCRIPTION_ID }}
103+ - name : Retry Failed Hooks with Fresh Token
104+ if : steps.provision.outcome == 'failure'
105+ run : |
106+ echo "Retrying with fresh authentication token..."
107+ azd provision --no-prompt
108+ env :
109+ principalType : ' ServicePrincipal'
You can’t perform that action at this time.
0 commit comments