We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ea90f commit dee3e99Copy full SHA for dee3e99
cicd/2-cicd/deploy-cicd.sh
@@ -20,7 +20,9 @@ if [ "$TARGET_BRANCH" == "main" ]
20
then
21
STACK_NAME="javabuilder-cicd"
22
else
23
- STACK_NAME=${"javabuilder-$TARGET_BRANCH-cicd"}
+ # replace any "/" characters in the branch name with "-". "/" is not allowed in a stack name.
24
+ TARGET_BRANCH="${TARGET_BRANCH/\//-}"
25
+ STACK_NAME="javabuilder-${TARGET_BRANCH}-cicd"
26
fi
27
28
MODE=${MODE-'standard'}
0 commit comments