![How to Deploy Your Personal Website Using GitHub Pages](https://assets.community.aws/a/2grDq4N2qiiR90QJB1lPjD3O2Na/Youtube-jpg.webp)
How to Deploy Your Personal Website Using GitHub Pages
In this comprehensive tutorial, you'll learn how to deploy your personal website using GitHub Pages. Whether you're a beginner or an experienced developer, this step-by-step guide will walk you through the entire process.
Published May 23, 2024
Prerequisites:
- Create a New GitHub Account:
- If you don't already have a GitHub account, visit github.com and sign up for a new account. It's quick and easy!
- Add a New Repository:
- After creating your account, log in and click on the “New” button to create a new repository.
- Give your repository a name, ensure it's public, and then click “Create repository.”
- Upload Your HTML Page to the Repository:
- Once the repository is created, you'll be taken to its main page. Click the “Add file” button, then “Upload files.”
- Select your HTML file (e.g., index.html) from your computer and upload it. Ensure the file is named index.html as it will be the default page for your site.
- Commit the changes to the repository.
- Deploy Your Website:
- Go to the “Settings” tab of your repository.
- Scroll down to the “GitHub Pages” section.
- Under “Source,” select the branch that contains your HTML file (usually main or master), then click “Save.”
- After a few moments, you'll receive a message with the URL where your site is published (e.g., https://yourusername.github.io/your-repository-name).
By following these detailed steps, you'll successfully deploy your personal website using GitHub Pages. Start sharing your projects and ideas with the world today!
Follow along with the step-by-step instructions to get your website live in no time.
🔗 https://www.youtube.com/watch?v=_XlHqrN2cc4
Don't forget to like, comment, and subscribe for more in-depth tutorials on web development and programming!