diff --git a/buildspec.yaml b/buildspec.yaml index 0c2c18a1f..c83b7c54c 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -5,6 +5,7 @@ phases: runtime-versions: 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 - echo $CODEBUILD_WEBHOOK_EVENT - echo $BUILD_BRANCH_NAME