DEV Community

Discussion on: Static website + Wordpress blog - Hosting on AWS

Collapse
 
liortal1 profile image
liortal1

I think there's a much simpler way to deploy a website on AWS S3.

Here's a simple automation pipeline template that will deploy a static website to an Amazon S3 bucket.

This pipeline uses the AWS CodeBuild plugin, creates a pipeline using the AWS Codepipeline plugin and deploys it to an AWS S3 bucket. The AWS Codebuild plugin will pull the code from the Github repository and do the necessary build process and the Codebuild process will then push the resulting artifacts to the S3 bucket. The AWS S3 Bucket policy in this pipeline will make the bucket accessible to the public.

You can add a Github trigger that listens to your repo for a push to trigger this pipeline.

kaholo.io/templates/website-deploy...