matthprost/S3 Bucket Website Deploy
Create a S3 bucket (if not existing), enable bucket website with given configuration and deploy your files into it.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| S3_ACCESS_KEY | S3 access key | yes | — |
| S3_SECRET_KEY | S3 secret key | yes | — |
| S3_ENDPOINT | Endpoint of your S3 bucket. Ex: s3.fr-par.scw.cloud | yes | — |
| S3_REGION | Region of your S3 bucket. Ex: fr-par | yes | — |
| BUCKET_NAME | Enter a bucket name there. Bucket will be created if not existing. | yes | — |
| WEBSITE_CONFIG_PATH | Root path of the file that contains configuration for bucket website, should be a .json. See example file in repository. | no | /s3-default-config-file/.bucket-website.json |
| BUCKET_POLICY_CONFIG_PATH | Root path of the file that contains configuration bucket website policies, should be a .json.tql. See example file in repository | no | /s3-default-config-file/.bucket-policy.json.tpl |
| SOURCE_DIRECTORY | Root path of the source folder that will be sync with your bucket. | no | . |
| SYNC_ARGS | Arguments you can add to S3 sync command. | no | --delete |
| COMPRESS_TOOL | Compress your files from SOURCE_DIRECTORY before uploading them into your bucket. Only gzip available, if empty no compression is done. | no | — |
Outputs
no outputs