From dfe99b09bd3a175e508fe9d1d5c15be2c6cfdc36 Mon Sep 17 00:00:00 2001 From: Praful Rakhade Date: Fri, 6 Dec 2024 12:11:34 +0530 Subject: [PATCH 1/2] [MOSIP-38131] Update push-trigger.yml Signed-off-by: Praful Rakhade --- .github/workflows/push-trigger.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index ab9a01e..c0b0d53 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: source_directory: - description: 'Provide mosip plugin utility' + description: 'Provide the mosip plugin utility' required: true default: 'sign-in-with-esignet or secure-biometric-interface-integrator or storybook-example' type: string @@ -12,6 +12,10 @@ on: description: 'Provide artifactory branch' required: true type: string + publish_type: + description: 'Provide publish type: main or beta' + required: true + type: string push: branches: - develop @@ -102,6 +106,7 @@ jobs: uses: mosip/kattu/.github/workflows/npm-publish-to-npm-registry.yml@master with: SERVICE_LOCATION: ./secure-biometric-interface-integrator + PUBLISH_TYPE: ${{ github.event.inputs.publish_type }} secrets: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} From 0aa6c1ce3f8a4aa653c0d050d7066775076b4077 Mon Sep 17 00:00:00 2001 From: Praful Rakhade Date: Fri, 6 Dec 2024 14:17:07 +0530 Subject: [PATCH 2/2] Update push-trigger.yml Signed-off-by: Praful Rakhade --- .github/workflows/push-trigger.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index c0b0d53..32f4ee0 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -12,10 +12,6 @@ on: description: 'Provide artifactory branch' required: true type: string - publish_type: - description: 'Provide publish type: main or beta' - required: true - type: string push: branches: - develop @@ -106,7 +102,6 @@ jobs: uses: mosip/kattu/.github/workflows/npm-publish-to-npm-registry.yml@master with: SERVICE_LOCATION: ./secure-biometric-interface-integrator - PUBLISH_TYPE: ${{ github.event.inputs.publish_type }} secrets: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}