文件名称:s3-website-sync:将静态网站同步到 S3
文件大小:4KB
文件格式:ZIP
更新时间:2024-07-01 09:38:18
Go
s3-网站同步 将静态网站同步到 S3。 上传前使用 gzip 压缩 HTML 和 CSS。 不压缩图像。 将目标文件与源文件进行比较,以避免在文件包含完全相同的数据时上传文件(这就是为什么它是同步而不是副本)。 要构建它,您需要: go get github.com/mitchellh/goamz/aws go get github.com/mitchellh/goamz/s3 用法 Usage of ./s3-website-sync: -bucket="": The name of the destination bucket in S3 -source-path="": The path to the source directory containing the website
【文件预览】:
s3-website-sync-master
----s3-website-sync.go(5KB)
----LICENSE(1KB)
----README.md(588B)
----.gitignore(252B)