Skip to content

Commit 87e8b6c

Browse files
committed
fix: buddy ci fix
1 parent c2b0fff commit 87e8b6c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.buddy/cd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121
- "echo \"SDK version: ${SDK_VERSION}\""
2222
- ""
2323
- "# Only proceed if on master branch"
24-
- CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
25-
- "if [ \"${CURRENT_BRANCH}\" != \"master\" ]; then"
26-
- " echo \"Not on master branch. Current branch: ${CURRENT_BRANCH}\""
24+
- "if [ \"${BUDDY_RUN_BRANCH}\" != \"master\" ]; then"
25+
- " echo \"Not on master branch. Current branch: ${BUDDY_RUN_BRANCH}\""
2726
- ' echo "Skipping deployment."'
2827
- ' exit 0'
2928
- fi

0 commit comments

Comments
 (0)