diff --git a/buildspec/release/35opengate.yml b/buildspec/release/35opengate.yml new file mode 100644 index 00000000000..45362ac14e3 --- /dev/null +++ b/buildspec/release/35opengate.yml @@ -0,0 +1,18 @@ +version: 0.2 + +phases: + install: + runtime-versions: + nodejs: 16 + + pre_build: + commands: + - STAGE_NAME=SourceWithGit + - PIPELINE=$(echo $CODEBUILD_INITIATOR | sed -e 's/codepipeline\///') + build: + commands: + - | + aws codepipeline enable-stage-transition \ + --pipeline-name "$PIPELINE" \ + --stage-name "$STAGE_NAME" \ + --transition-type "Inbound"