Deploy static websites to AWS S3 via CI/CD with GitHub Actions

Baimam Boukar Jean Jacques
7 min readJul 9, 2023

S3 is a powerful and reliable storage service offered by AWS Cloud. It can be used to host static websites with ease. In this article, we will show you how to deploy your static content to AWS S3 using GitHub Actions. This will allow you to automate the deployment process and ensure that your website is always up-to-date.

What is AWS S3?

AWS S3 stands for Amazon Simple Storage Service. It is a cloud storage service that offers industry-leading scalability, data availability, security, and performance.

S3 has tons of use cases amongst which we have Media Storage, Data Lake, Backup and archiving, and Static website hosting.

Create S3 Bucket

To host our static website, we will need to create a S3 bucket. There are many ways to do this. Via AWS console,AWS CLI, AWS SDKs or REST APIs. But for the purpose of this tutorial,we will use AWS console.

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/
  2. Then type S3 in the search bar and chose the first result, standard S3.

--

--

Baimam Boukar Jean Jacques
Baimam Boukar Jean Jacques

Written by Baimam Boukar Jean Jacques

AWS Community Builder | Open Source Enthusiast | Mobile Engineer | Write about Flutter- Go - Bitcoin - AWS severless and Cloud native apps

No responses yet