diff --git a/.github/workflows/setup-logicapp-resource.yml b/.github/workflows/setup-logicapp-resource.yml index 5a2a0bf9..42e0ce7e 100644 --- a/.github/workflows/setup-logicapp-resource.yml +++ b/.github/workflows/setup-logicapp-resource.yml @@ -8,9 +8,18 @@ on: type: environment description: Select environment default: test + deploy_logicapp_resource: + type: boolean + description: Run deployment of Logic App resource + default: true + upload_logicapp_workflows: + type: boolean + description: Upload Logic App workflows + default: true jobs: setup-logic-app-resource: + if: ${{ github.event.inputs.deploy_logicapp_resource == 'true' }} runs-on: ubuntu-latest outputs: accountName: ${{steps.deploy_main_bicep.outputs.accountName}} @@ -54,6 +63,7 @@ jobs: scope: resourcegroup deploy-logic-app-workflows: + if: ${{ github.event.inputs.upload_logicapp_workflows == 'true' }} runs-on: ubuntu-latest needs: [setup-logic-app-resource] environment: ${{ github.event.inputs.selected_environment }}