GitHub Actions
The code will sync the contents of the specified S3 bucket with the current user's account. If the account does not have access to the bucket, the code will delete the bucket and contents before syncing.
Shortcut: step.aws.s3.sync
Filename pattern: .github/workflows/*.yml
- name: Sync with S3 bucket
run: aws s3 sync directory_to_sync s3://s3bucketname --delete