DEV Community

Cover image for Deploying a Static Website to AWS S3 using Jenkins or Github Actions
amlan
amlan

Posted on

Deploying a Static Website to AWS S3 using Jenkins or Github Actions

Deploying a static website should be non-complicated as they just consist of simple HTML pages. They can also contain some dependencies on Javascript but just for some client side functionalities. In this post I will going through a process of easily deploying a static website without spinning up a hosting server. This will be a cost effective solution since there are no big costs involved to launch any web servers. The process I describe will also give you an easy way to host static HTML files or static websites.

In this post I will be describing two methods to deploy the static website to S3:

Using Jenkins: Build an automated pipeline on Jenkins to upload the static files to S3 bucket
Using GitHub Action: Use GitHub actions to upload the static files to S3 bucket

Read the full post here:

https://amlanscloud.com/jenkinsdeploys3/

Top comments (2)

Collapse
 
bayuangora profile image
Bayu Angora

With Vercel or Netlify, you can simply build and deploy static site without additional Jenkins or Actions.

Collapse
 
amlana24 profile image
amlan

Yep thats right. This was more of a learning exercise for me to build this in Jenkins.