Skip to content

Commit

Permalink
WIP: Add toggle for logic app resource and upload logic app workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Jerrico Dela Cruz <[email protected]>
  • Loading branch information
jerricotandelacruz committed Dec 4, 2024
1 parent ba20981 commit e1b1869
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/setup-logicapp-resource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit e1b1869

Please sign in to comment.