jmmorlesin / bitbucket-pipelines-deploy-web-s3

Bitbucket pipelines configuration to deploy the code as a static webpage in S3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitbucket pipelines configuration to deploy the code as a static web in S3

Minimum configuration to use bitbucket pipelines in order to deploy the code as a static web in a S3 bucket.
Using a docker image that contains the AWS CLI: https://github.com/jmmorlesin/docker-maven-ant-awscli

Bitbucket will need some environment variables in the pipelines section:

Name Description
AWS_ACCESS_KEY_ID AWS Access Key
AWS_S3_REGION Region of the bucket
AWS_SECRET_ACCESS_KEY AWS Secret Access Key
S3_BUCKET_NAME S3 Bucket configured as host of a Static Website

More information about host an static website in Amazon: Hosting a Static Website on Amazon S3

License

May be freely distributed under the MIT license.

Copyright (c) 2017 Jose M. MorlesĂ­n

About

Bitbucket pipelines configuration to deploy the code as a static webpage in S3

License:MIT License