Created
December 4, 2020 21:05
-
-
Save sergueyarellano/29ed395dedc959f6e07c9ade5b5edf10 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins: | |
- serverless-s3-sync | |
custom: | |
s3Sync: | |
- bucketName: swagger-site-${opt:stage, 'dev'} | |
localDir: swagger-ui-dist | |
deleteRemoved: true # optional, indicates whether sync deletes files no longer present in localDir. Defaults to 'true' | |
acl: public-read # optional | |
followSymlinks: true # optional | |
defaultContentType: text/html # optional | |
params: # optional | |
- index.html: | |
CacheControl: 'no-cache' | |
- "*.js": | |
CacheControl: 'public, max-age=31536000' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment