From da3d030f2e5f4783cbe0a543cae6865236c99db8 Mon Sep 17 00:00:00 2001 From: Nikita Belonogov Date: Mon, 23 Dec 2024 14:32:39 +0400 Subject: [PATCH] ci: PLT-608: Fix deploy input --- .github/workflows/cicd_pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd_pipeline.yml b/.github/workflows/cicd_pipeline.yml index 2db4f7ee55d4..d77e4ec5e5dd 100644 --- a/.github/workflows/cicd_pipeline.yml +++ b/.github/workflows/cicd_pipeline.yml @@ -200,12 +200,12 @@ jobs: - uses: actions/github-script@v7 env: DOCKER_IMAGE_VERSION: ${{ needs.build-docker.outputs.image_version }} - APP_NAME: ${{ startsWith(github.ref_name, 'ls-release/') && 'ls-release' || 'ls-develop' }} + RELEASE_NAME: ${{ startsWith(github.ref_name, 'ls-release/') && 'ls-release' || 'ls-develop' }} with: github-token: ${{ secrets.GIT_PAT }} script: | const docker_image_version = process.env.DOCKER_IMAGE_VERSION; - const app_name = process.env.APP_NAME; + const release_name = process.env.RELEASE_NAME; github.rest.actions.createWorkflowDispatch({ owner: "HumanSignal", repo: "label-studio-enterprise", @@ -213,7 +213,7 @@ jobs: ref: "develop", inputs: { docker_image_version: docker_image_version, - app_name: app_name, + release_name: release_name, template_name: "lso", } });