How to deploy S3 hosted website

When you have a website that is hosted at S3 updating new version of this website can interrupt with your regular tasks so how can you automate this repeating upload of new website version?

Jenkins as your automation

Jenkins can do many things including automation for this specific task of deploying new version of your website, thus making the operation of new version upload automatically.

how to automate your new version deployment?

  1. Create a git repository for your website
  2. Create a new pipeline in Jenkins using the Jenkinsfile here
  3. Start the job or commit a new version to the website repository

P.S. don’t forget to check the option in the job:

GitHub hook trigger for GITScm polling

Example of deployed website

Check out this example of a website that is automated via Jenkins here

Summary

Now you can add more tasks to your automation and create new automation jobs

(Visited 107 times, 1 visits today)

Leave A Comment