Skip to content

Commit d571ab7

Browse files
author
Xavier Agostini
authored
add delete flag to s3 sync (#799)
1 parent 056f429 commit d571ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/upload-docs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121
s3-sync() {
2222
echo "--- Uploading to s3://${S3_BUCKET_NAME}/docs"
2323
ls -a
24-
aws s3 sync _site s3://${S3_BUCKET_NAME}/docs/
24+
aws s3 sync _site s3://${S3_BUCKET_NAME}/docs/ --delete
2525
}
2626

2727
# Only Sync to S3 on Build step and for prod/staging environments

0 commit comments

Comments
 (0)