Skip to content

Commit

Permalink
On branch main Ensure the parameter is pushed upstream.
Browse files Browse the repository at this point in the history
modified:   .github/workflows/setupOpenLibertyAks.yml
  • Loading branch information
edburns committed Oct 28, 2024
1 parent 4e4843b commit b78d003
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/setupOpenLibertyAks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ on:
- never_delete
deployRequiredSupportingResourcesOnly:
description: "Set this value to true to cause the workflow to only deploy required supporting resources and skip deploying the AKS cluster and app."
default: "false"
required: true
type: boolean
default: false
repository_dispatch:
schedule:
- cron: '0 0 27 * *' # run the workflow at the end of 27th monthly.
Expand Down Expand Up @@ -159,7 +160,7 @@ jobs:
deploy-openliberty-on-aks:
needs: preflight
runs-on: ubuntu-20.04
if: ${{ inputs.deployRequiredSupportingResourcesOnly == 'false' }}
if: ${{ inputs.deployRequiredSupportingResourcesOnly == false }}
steps:
- name: Checkout ${{ env.aksRepoUserName }}/azure.liberty.aks
uses: actions/checkout@v2
Expand Down Expand Up @@ -248,7 +249,7 @@ jobs:
deploy-azure-monitor:
needs: [preflight, deploy-openliberty-on-aks]
runs-on: ubuntu-20.04
if: ${{ inputs.deployRequiredSupportingResourcesOnly == 'false' }}
if: ${{ inputs.deployRequiredSupportingResourcesOnly == false }}
steps:
- uses: azure/login@v1
id: azure-login
Expand Down Expand Up @@ -296,7 +297,7 @@ jobs:
deploy-cargo-tracker:
needs: [preflight, deploy-db,deploy-azure-monitor]
runs-on: ubuntu-20.04
if: ${{ inputs.deployRequiredSupportingResourcesOnly == 'false' }}
if: ${{ inputs.deployRequiredSupportingResourcesOnly == false }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down

0 comments on commit b78d003

Please sign in to comment.