Commit 11a73353 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

feat: change default deploy args (sync instead of put)

parent 6a12e394
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ It uses the following variables:

| Name                   | description                                   | default value     |
| ---------------------- | --------------------------------------------- | ----------------- |
| `S3_DEPLOY_ARGS`       | [s3cmd](https://s3tools.org/usage) command and options to deploy files to the bucket | `put --acl-public --no-mime-magic --guess-mime-type --recursive` |
| `S3_DEPLOY_ARGS`       | [s3cmd](https://s3tools.org/usage) command and options to deploy files to the bucket | `sync --recursive --delete-removed --acl-public --no-mime-magic --guess-mime-type` |
| `S3_DEPLOY_FILES`      | Pattern(s) of files to deploy to the S3 bucket| `public/` _(all files from `public` directory)_ |
| `S3_WEBSITE_DISABLED`  | Set to `true` to disable WebSite hosting by your S3 bucket    | _none_ (enabled by default) |
| `S3_WEBSITE_ARGS`      | [s3cmd](https://s3tools.org/usage) command and options to enable WebSite hosting on the bucket | `ws-create --ws-index=index.html` |
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
    {
      "name": "S3_DEPLOY_ARGS",
      "description": "directory where S3 scripts (templates, hook scripts) are located",
      "default": "put --acl-public --no-mime-magic --guess-mime-type --recursive",
      "default": "sync --recursive --delete-removed --acl-public --no-mime-magic --guess-mime-type",
      "advanced": true
    },
    {
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ variables:
  S3_SCRIPTS_DIR: "."
  S3_BASE_TEMPLATE_NAME: "s3"
  S3_REVIEW_ENVIRONMENT_SCHEME: "https"
  S3_DEPLOY_ARGS: "put --acl-public --no-mime-magic --guess-mime-type --recursive"
  S3_DEPLOY_ARGS: "sync --recursive --delete-removed --acl-public --no-mime-magic --guess-mime-type"
  S3_DEPLOY_FILES: "public/"
  S3_WEBSITE_ARGS: "ws-create --ws-index=index.html"
  # defaults to AWS