ent/docs: adding noncurrent version lifecycle rule

Reviewed By: a8m

Differential Revision: D16962458

fbshipit-source-id: 8362c9e0e1de3ca9bb5b49529b1609415f1fb137
This commit is contained in:
Alex Snast
2019-08-23 01:09:33 -07:00
committed by Facebook Github Bot
parent 228076e062
commit aaafde973b

View File

@@ -66,6 +66,9 @@ jobs:
name: Deploy Docs
working_directory: ~/project/doc/website/build/ent
command: aws s3 sync . s3://entgo.io --delete --exclude "assets/*"
- run:
name: Invalidate Cache
command: aws cloudfront create-invalidation --distribution-id $CDN_DISTRIBUTION_ID --paths "/*"
workflows:
version: 2.1