Project URL: https://roadmap.sh/projects/github-actions-deployment-workflow
This project demonstrates how to use GitHub Actions to automatically deploy changes to GitHub Pages whenever the index.html file is updated.
- Automatic Deployment: Any changes made to
index.htmlin themainbranch trigger a deployment. - GitHub Actions Workflow: Uses a CI/CD pipeline for seamless automation.
- GitHub Pages Hosting: The website is accessible via GitHub Pages.
π my-project
β-- π index.html # The main HTML file deployed to GitHub Pages
β-- π README.md # Project documentation (this file)
βββ π .github
βββ π workflows
βββ π deploy.yml # GitHub Actions workflow for deployment- Push changes to
mainbranch` - GitHub Actions runs the deployment workflow
- Updates are deployed to GitHub Pages
-
Clone the repository:
git clone https://github.com/milansamuel609/gh-deployment-workflow-.git
-
Navigate to the project folder:
cd YOUR_REPOSITORY -
Open index.html in a browser or make changes and push to GitHub to trigger a deployment.
Email: milansamuel609@gmail.com
Name: Milan P Samuel