This repository contains a modern, responsive website with automated deployment to GitHub Pages using GitHub Actions.
- Automated Deployment: Push to your branch and GitHub Actions automatically deploys to GitHub Pages
- Responsive Design: Mobile-friendly layout that works on all devices
- Modern UI: Clean, professional design with gradient backgrounds and smooth animations
- Easy to Customize: Simple HTML and CSS structure ready for your content
- Go to your repository on GitHub
- Click on Settings > Pages
- Under "Build and deployment":
- Source: Select GitHub Actions
- Save the settings
Edit the files to customize your site:
index.html- Main content and structurestyles.css- Styling and appearance- Add more pages as needed
Simply push your changes to the branch:
git add .
git commit -m "Update website content"
git pushThe GitHub Actions workflow will automatically build and deploy your site.
After deployment completes (usually 1-2 minutes), visit:
https://[your-username].github.io/[repository-name]/
.
├── .github/
│ └── workflows/
│ └── deploy.yml # GitHub Actions workflow
├── index.html # Main HTML file
├── styles.css # CSS styles
└── README.md # This file
The workflow (.github/workflows/deploy.yml) automatically:
- Triggers on push to main, master, or the current branch
- Checks out your code
- Configures GitHub Pages
- Uploads the site as an artifact
- Deploys to GitHub Pages
You can also trigger deployment manually from the Actions tab.
Edit the CSS variables in styles.css:
:root {
--primary-color: #6366f1;
--secondary-color: #8b5cf6;
--text-color: #1f2937;
/* ... more variables */
}- Create a new HTML file (e.g.,
about.html) - Link to it from
index.html:<a href="about.html">About</a>
- Create an
imagesfolder - Add your images
- Reference them in HTML:
<img src="images/your-image.jpg" alt="Description">
- Check the Actions tab for workflow run status
- Ensure GitHub Pages is enabled in repository settings
- Clear your browser cache
- Verify the GitHub Pages source is set to "GitHub Actions"
- Check that
index.htmlexists in the repository root - Wait a few minutes for DNS propagation
This project is open source and available under the MIT License.