File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,12 @@ jobs:
19
19
uses : aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
20
20
with :
21
21
role-to-assume : ${{secrets.AWS_E2E_ROLE_ARN}}
22
- aws-region : ${{secrets .AWS_E2E_REGION}}
22
+ aws-region : ${{vars .AWS_E2E_REGION}}
23
23
- name : Trigger AWS CodePipeline
24
24
run : |
25
- codepipeline_execution_id=$(aws codepipeline start-pipeline-execution --name ${{vars.AWS_E2E_TOPIC_BRANCH_CODEPIPELINE_NAME}} --query 'pipelineExecutionId' --output text)
25
+ codepipeline_execution_id=$(aws codepipeline start-pipeline-execution --name ${{vars.AWS_E2E_TOPIC_BRANCH_CODEPIPELINE_NAME}} --variables name=BRANCH_NAME,value=${{github.head_ref}} -- query 'pipelineExecutionId' --output text)
26
26
echo "Pipeline execution ID: $codepipeline_execution_id"
27
27
echo "codepipeline_execution_id=$codepipeline_execution_id" >> $GITHUB_ENV
28
- echo ${{github.head_ref}}
29
- env :
30
- BRANCH_NAME : ${{github.head_ref}}
31
28
- name : Poll Pipeline Status
32
29
id : poll-status
33
30
run : |
You can’t perform that action at this time.
0 commit comments