Deploy a GitHub site to Netlify
Connect a GitHub repository to Netlify and verify that new commits deploy to the published site.
What you will create
Connect a test GitHub repository to a Netlify project, verify the first version and check an update. Distinguish the source repository, the folder actually deployed and the version visible in the browser.
Before you start
Use your own demonstration repository without secrets, personal data, payments or forms connected to real services. Check your Netlify account’s costs and quotas before running repeated builds. You do not need to buy a domain for this exercise.
Record the intended branch and how the project works. A compiled project needs its build instructions; a folder of static files has different needs. Do not copy a command intended for another framework.
Step-by-step
- Import the intended repository. In Netlify, choose Add new project, Import an existing project, then GitHub. Review requested authorization and limit access to the necessary repository where the flow allows.
- Check configuration. Verify the branch, build command and publish directory. Automatically detected values must match the project, not merely look plausible.
- Deploy. After confirming scope and applicable costs, use Publish. Wait for the result and open the provided address. Check whether the project is private or publicly accessible.
- Try a minor update. Change text on the watched branch and push the commit. After a successful new deployment, check the associated commit and displayed text without mistaking an old version for the update.
Example to adapt
To isolate the mechanism, a static test project could contain site-demo with index.html, style.css and images/logo.svg. If these are already the finished site files, the publish directory is site-demo, not an invented dist folder.
The page initially says “Demo version A”. In a commit, replace it with “Demo version B”. Check the page, stylesheet and image. If only unstyled text appears, deployment may be incomplete or resource paths incorrect.
This small example does not describe React or another compiled application: identify the output folder from that project’s own build before entering settings.
Check your result
- The repository and branch belong to the exercise, not a client site.
- The homepage and resources load at the provided address.
- The deployed commit contains text B.
- Project visibility matches what you authorized.
- No keys or confidential configuration appear in deployed files.
Common problems
A build succeeds but the page is missing: check the publish folder and finished files. Success status does not prove the correct directory was selected.
Images or styles are missing: compare filenames and paths, including capitalization. Do not randomly change build configuration when the problem is a resource link.
The new version does not appear: check branch and commit before starting repeated deploys. If the latest processing failed, inspect its log.
Next steps
Explore the Netlify profile on QAILT. For real work, prepare a review-before-merge process rather than testing every change directly on the published branch.


