Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pwei1018 authored Dec 18, 2024
1 parent f05e429 commit d039b74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/setup-deployment-target/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
*)
Expand Down

0 comments on commit d039b74

Please sign in to comment.