Skip to content

Commit

Permalink
ci: fix commit id
Browse files Browse the repository at this point in the history
  • Loading branch information
necipallef committed Sep 23, 2024
1 parent 36165ef commit 3d845a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e_test_for_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# aws ssm put-parameter --name "/cloudfront-integration-e2e/branch_name" --value "${{github.head_ref}}" --type "String" --overwrite
- name: Trigger AWS CodePipeline
run: |
git_hash=${{ github.event.pull_request.head.ref }}
git_hash=${{ github.event.pull_request.head.sha }}
echo $git_hash
codepipeline_execution_id=$(aws codepipeline start-pipeline-execution --name ${{vars.AWS_E2E_TOPIC_BRANCH_CODEPIPELINE_NAME}} --source-revisions actionName=Source,revisionType=COMMIT_ID,revisionValue=$git_hash --query 'pipelineExecutionId' --output text)
echo "Pipeline execution ID: $codepipeline_execution_id"
Expand Down

0 comments on commit 3d845a6

Please sign in to comment.