Commit e51a9d96 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

feat: change default website create args

parent 11a73353
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ It uses the following variables:
| `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` |
| `S3_WEBSITE_ARGS`      | [s3cmd](https://s3tools.org/usage) command and options to enable WebSite hosting on the bucket | `ws-create --ws-index=index.html --ws-error=404.html` |
| `S3_WEBSITE_ENDPOINT`  | Default WebSite endpoint url pattern (supports `%(bucket)s` and `%(location)s` placeholders).<br/>_only required when website hosting is not disabled_ | `http://%(bucket)s.s3-website.%(location)s.amazonaws.com` |

If need be you could add your own hook script `s3-pre-deploy.sh` that will be triggered right before deploying files to
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@
    {
      "name": "S3_WEBSITE_ARGS",
      "description": "[s3cmd](https://s3tools.org/usage) command and options to enable WebSite hosting on the bucket",
      "default": "ws-create --ws-index=index.html",
      "default": "ws-create --ws-index=index.html --ws-error=404.html",
      "advanced": true
    },
    {
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ variables:
  S3_REVIEW_ENVIRONMENT_SCHEME: "https"
  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"
  S3_WEBSITE_ARGS: "ws-create --ws-index=index.html --ws-error=404.html"
  # defaults to AWS
  S3_WEBSITE_ENDPOINT: "http://%(bucket)s.s3-website.%(location)s.amazonaws.com"