From d039b74ea3e40ebeda6b09df6665d38bdf618584 Mon Sep 17 00:00:00 2001 From: Patrick Wei <44277752+pwei1018@users.noreply.github.com> Date: Wed, 18 Dec 2024 09:58:29 -0800 Subject: [PATCH] Update action.yml --- .github/actions/setup-deployment-target/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-deployment-target/action.yml b/.github/actions/setup-deployment-target/action.yml index face70c..327baa6 100644 --- a/.github/actions/setup-deployment-target/action.yml +++ b/.github/actions/setup-deployment-target/action.yml @@ -27,17 +27,17 @@ runs: case ${{ github.ref_name }} in main) - echo DEPLOY_PIPELINE="$2-pipeline" >> $GITHUB_ENV + echo DEPLOY_PIPELINE="${{ github.app_name }}-pipeline" >> $GITHUB_ENV ;; feature*) - echo DEPLOY_PIPELINE="$2-pipeline" >> $GITHUB_ENV + echo DEPLOY_PIPELINE="${{ github.app_name }}-feature-pipeline" >> $GITHUB_ENV ;; hotfix*) - echo DEPLOY_PIPELINE="$2-hotfix-pipeline" >> $GITHUB_ENV + echo DEPLOY_PIPELINE="${{ github.app_name }}-hotfix-pipeline" >> $GITHUB_ENV targets="test prod" ;; release*) - echo DEPLOY_PIPELINE="$2-release-pipeline" >> $GITHUB_ENV + echo DEPLOY_PIPELINE="${{ github.app_name }}-release-pipeline" >> $GITHUB_ENV targets="prod" ;; *)