This is a simple blogging website created as part of a DevOps Fundamentals assignment. The website consists of three pages:
- Home
- Blog
- Contact Us
The project uses GitHub Actions for CI/CD workflows to validate code quality and automate deployments to GitHub Pages.
- Home Page: Welcomes users to the blogging platform.
- Blog Page: Displays a list of blog posts with titles, descriptions, and links.
- Contact Us Page: Provides a form for users to contact the site owner.
- Responsive design and clean UI.
- HTML: For structuring the web pages.
- CSS: For styling the web pages.
- Parcel Bundler: For building and optimizing the website.
- GitHub Actions: For automating CI/CD workflows.
- PR Validation Workflow:
- Lints HTML and CSS files.
- Ensures the website builds successfully before merging pull requests.
- Deployment Workflow:
- Automatically builds and deploys the website to GitHub Pages on every push to the
developbranch.
- Automatically builds and deploys the website to GitHub Pages on every push to the
The website is hosted on GitHub Pages and can be accessed at the following link:
```
Blogging-Website/
├── src/
│ ├── home.html
│ ├── blog.html
│ ├── contact-us.html
├── styles/
│ ├── home.css
│ ├── blog.css
│ ├── contact-us.css
├── .github/
│ ├── workflows/
│ ├── pr-validation.yaml
│ ├── deploy-development.yaml
├── package.json
├── .gitignore
├── README.md
```
- Clone the repository:
git clone https://github.com/<MazharRehan>/Blogging-Website.git
- Navigate to the project directory
cd Blogging-Website - Install dependencies
npm install
- Run the development server
npx parcel src/index.html
- Open in the browser
http://localhost:1234
This project is licensed under the ISC License.