From 937cb70f978583d30d38d8d8b4cff9377bf04b2b Mon Sep 17 00:00:00 2001 From: ajithvcoder Date: Tue, 5 Nov 2024 07:06:45 +0000 Subject: [PATCH] fix commit id issue --- .github/workflows/ec2-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ec2-pipeline.yml b/.github/workflows/ec2-pipeline.yml index 9c4a326..0b2fa3e 100644 --- a/.github/workflows/ec2-pipeline.yml +++ b/.github/workflows/ec2-pipeline.yml @@ -252,7 +252,7 @@ jobs: run: | checkpoint_path="${{ env.CHECKPOINT_FILE }}" # Use the checkpoint path from the file bucket_name="mybucket-emlo-mumbai" # Change to your S3 bucket name - s3_key="session-08-checkpoint/${{ needs.launch-runner.outputs.commit_id. }}/$(basename "$checkpoint_path")" # Define S3 key + s3_key="session-08-checkpoint/${{ needs.launch-runner.outputs.commit_id }}/$(basename "$checkpoint_path")" # Define S3 key echo "Uploading $checkpoint_path to s3://$bucket_name/$s3_key" aws s3 cp "$checkpoint_path" "s3://$bucket_name/$s3_key"