Skip to content

Commit 78e8a82

Browse files
committed
add checkpoint storage
1 parent 23114ef commit 78e8a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ec2-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
bucket_name="mybucket-emlo-mumbai/session-08-checkpoint/" # Change to your S3 bucket name
186186
s3_key="session-08-checkpoint/${{ env.COMMIT_ID }}/$(basename "$checkpoint_path")" # Define S3 key
187187
echo "Uploading $checkpoint_path to s3://$bucket_name/$s3_key"
188-
aws s3 cp "$checkpoint_path" "s3://$bucket_name/$s3_key"
188+
aws s3 cp "$checkpoint_path" "s3://$bucket_name/$s3_key" --recursive
189189
190190
- name: Clean previous images and containers
191191
run: |

0 commit comments

Comments
 (0)