Update ui-workflow.yml
This commit is contained in:
7
.github/workflows/ui-workflow.yml
vendored
7
.github/workflows/ui-workflow.yml
vendored
@@ -11,6 +11,10 @@ on:
|
|||||||
description: "Disable pushing to ECR. Default is true."
|
description: "Disable pushing to ECR. Default is true."
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
IS_BUILD_ENABLED:
|
||||||
|
description: "Enable building. Default is true."
|
||||||
|
required: true
|
||||||
|
type: boolean
|
||||||
NODE_VERSION:
|
NODE_VERSION:
|
||||||
description: "Node version to setup. Default is 14."
|
description: "Node version to setup. Default is 14."
|
||||||
required: false
|
required: false
|
||||||
@@ -42,7 +46,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.SECRET_GH_TOKEN_CAN_READ_PACKAGES }}
|
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
|
- name: Login to ECR
|
||||||
if: ${{ inputs.IS_ECR_PUSH_ENABLED }}
|
if: ${{ inputs.IS_ECR_PUSH_ENABLED }}
|
||||||
|
|||||||
Reference in New Issue
Block a user