Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hephzibah Pon Cellat Arulprakash committed Nov 20, 2023
1 parent 630524d commit f4117cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildspec.yaml
Expand Up @@ -6,7 +6,7 @@ phases:
nodejs: 16
commands:
- set -xv
- if [ "$CODEBUILD_WEBHOOK_EVENT" == "PULL_REQUEST_MERGED" ]; then export BUILD_BRANCH_NAME=${CODEBUILD_WEBHOOK_BASE_REF#"refs/heads/"}; else export BUILD_BRANCH_NAME=${CODEBUILD_WEBHOOK_HEAD_REF#"refs/heads/"}; fi
- if [ "$CODEBUILD_WEBHOOK_EVENT" = "PULL_REQUEST_MERGED" ]; then export BUILD_BRANCH_NAME=${CODEBUILD_WEBHOOK_BASE_REF#"refs/heads/"}; else export BUILD_BRANCH_NAME=${CODEBUILD_WEBHOOK_HEAD_REF#"refs/heads/"}; fi
- echo $CODEBUILD_WEBHOOK_EVENT
- echo $BUILD_BRANCH_NAME
- echo $CODEBUILD_WEBHOOK_BASE_REF
Expand Down

0 comments on commit f4117cc

Please sign in to comment.