diff --git a/.github/workflows/ui-workflow.yml b/.github/workflows/ui-workflow.yml index 8739463..97f3281 100644 --- a/.github/workflows/ui-workflow.yml +++ b/.github/workflows/ui-workflow.yml @@ -11,6 +11,10 @@ on: description: "Disable pushing to ECR. Default is true." required: true type: boolean + IS_BUILD_ENABLED: + description: "Enable building. Default is true." + required: true + type: boolean NODE_VERSION: description: "Node version to setup. Default is 14." required: false @@ -42,7 +46,8 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.SECRET_GH_TOKEN_CAN_READ_PACKAGES }} - - run: npm run build + - run: npm run build + if: ${{ inputs.IS_BUILD_ENABLED }} - name: Login to ECR if: ${{ inputs.IS_ECR_PUSH_ENABLED }}