I just deployed my index.php file on GitHub repositories and after deployment
GitHub show me
404 There isn’t a GitHub Pages site here.
If you’re trying to publish one, read the full documentation to learn
how to set up GitHub Pages for your repository, organization, or user
GitHub Status — @githubstatus
and also on netlify
Source: Ask PHP