Added 'delete' and 'no-progress' flags to S3 docs sync.

This commit is contained in:
Luke Anderson 2019-05-08 00:55:02 +10:00
parent aa1342fcbb
commit 699e95cc67
No known key found for this signature in database
GPG Key ID: 44408169EC61E228

View File

@ -29,7 +29,7 @@ documentation:
stage: document
script:
- cargo doc --no-deps
- aws s3 sync target/doc/ s3://lighthouse-docs.sigmaprime.io/ --exclude '.lock'
- aws s3 sync target/doc/ s3://lighthouse-docs.sigmaprime.io/ --exclude '.lock' --delete --no-progress
# Configure the below when we want to have a default page (and update S3 bucket index).
# - echo '<meta http-equiv="refresh" content="0; url={{ LIBRARY NAME }}">' > public/index.html
only: