src/data/projects/github-actions-deployment-workflow.md
The goal of this project is to help you learn the notion of continuous integration and continuous deployment. You will write a simple GitHub Actions workflow to deploy a static website to GitHub Pages.
You are required to write a GitHub action that deploys any changes made to the index.html file to GitHub Pages. It should only deploy the file when the index.html file is changed.
Here are the steps to get you started:
gh-deployment-workflow for example.index.html file saying "Hello, GitHub Actions!"README.md file explaining the project.deploy.yml file in the .github/workflows directory which contains the GitHub Actions workflow to deploy the website to GitHub Pages.main branch that changes the index.html file should trigger the workflow to run and deploy the website to GitHub Pages.https://<username>.github.io/gh-deployment-workflow/.Stretch goal: You can also make this project more practical e.g. use some sort of a static site generator such as Hugo, Jekyll, Astro or similar generator to create a more complex website e.g. your own personal portfolio.
<hr />After finishing this project, you will have a good understanding of the following concepts:
Continue solving more projects for advanced CI/CD concepts.