From da65288943294a7d63e3d44061edb174f26051d3 Mon Sep 17 00:00:00 2001 From: Jerrico Dela Cruz <94591636+jerricotandelacruz@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:55:31 +0800 Subject: [PATCH] WIP: Add toggle for logic app resource and upload logic app workflows Signed-off-by: Jerrico Dela Cruz <94591636+jerricotandelacruz@users.noreply.github.com> --- .github/workflows/setup-logicapp-resource.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/setup-logicapp-resource.yml b/.github/workflows/setup-logicapp-resource.yml index 5a2a0bf9..6e8fd871 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,8 +63,8 @@ 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 }} steps: - uses: actions/checkout@v2