This project focuses on automating the deployment of a static website repository using GitLab CI/CD. The primary objectives include converting the static website from HTML to Markdown format, hosting it on GitLab Pages with the Jekyll static site generator, and implementing a GitLab CI/CD pipeline for automated builds and deployments.
Key activities involved in this project:
-
Website Format Conversion: Converted a static website from HTML to Markdown format for enhanced maintainability.
-
GitLab Pages Hosting: Hosted the static website on GitLab Pages, utilizing the Jekyll static site generator.
-
GitLab CI/CD Pipeline: Set up a GitLab CI/CD pipeline by creating a
.gitlab-ci.yml
file in the repository. This pipeline automatically builds and deploys the site whenever updates are pushed to the repository.
The project aims to achieve the following objectives:
-
Enhanced Maintainability: Convert the static website to Markdown format for improved maintainability and ease of content updates.
-
Efficient Hosting: Utilize GitLab Pages and the Jekyll static site generator for efficient and reliable hosting.
-
Automated Deployment: Implement GitLab CI/CD for automated building and deployment, streamlining the update process.
The deployment process involves the following steps:
-
Format Conversion: Convert the static website from HTML to Markdown for improved content management.
-
GitLab Pages Hosting: Host the website on GitLab Pages with the Jekyll static site generator.
-
CI/CD Pipeline: Implement a GitLab CI/CD pipeline using the
.gitlab-ci.yml
file to automate the build and deployment process. -
Push Updates: Whenever updates are pushed to the repository, the GitLab CI/CD pipeline automatically builds and deploys the site.
This project enhances the maintainability of the static website by converting it to Markdown format and streamlines the deployment process through GitLab Pages and GitLab CI/CD automation. The combination of these technologies provides an efficient and automated solution for managing and deploying static websites.