Skip to content

Commit

Permalink
add enableBuild var
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Zimin <[email protected]>
  • Loading branch information
AleksZimin committed Jan 4, 2024
1 parent 915ace9 commit 473c2c0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ on:
description: "The module's tag, which must include the -dev1 postfix. For example: v1.21.1-dev1"
type: string
required: true

enableBuild:
type: boolean
default: true
description: 'Set to true if build is required'

jobs:
deploy-dev:
Expand All @@ -50,5 +55,6 @@ jobs:

- uses: actions/checkout@v4
- uses: deckhouse/modules-actions/setup@v1
- uses: deckhouse/modules-actions/build@v1
- if: ${{ github.event.inputs.enableBuild == 'true' }}
uses: deckhouse/modules-actions/build@v1
- uses: deckhouse/modules-actions/deploy@v1

0 comments on commit 473c2c0

Please sign in to comment.