diff --git a/.github/workflows/action-deploy.yml b/.github/workflows/action-deploy.yml index 68e99c66b..7fe0c0a9d 100644 --- a/.github/workflows/action-deploy.yml +++ b/.github/workflows/action-deploy.yml @@ -106,13 +106,14 @@ jobs: az containerapp job start -n ${{ steps.deploy.outputs.migrationJobName }} -g ${{ steps.deploy.outputs.resourceGroupName }} - name: Verify deployment running - timeout-minutes: 3 uses: azure/CLI@v1 + if: ${{!inputs.dryRun}} id: verify-deployment + timeout-minutes: 3 with: azcliversion: ${{ env.AZ_CLI_VERSION }} inlineScript: | - ./.github/tools/revisionVerifier.sh "${{ steps.deploy.outputs.webApiSoRevisionName }} ${{ steps.deploy.outputs.resourceGroupName }}" + ./.github/tools/revisionVerifier.sh ${{ steps.deploy.outputs.webApiSoRevisionName }} ${{ steps.deploy.outputs.resourceGroupName }} - name: Logout from azure