I created a html website. I uploaded all the source code in my GitHub repository. Now I want to host my website using GitHub Pages but I am getting Error that says: 'Failed to create deployment (status: 500) with build version 35c4d9bf78f338ba8319cfe032e967dd258d9ede. Server error, is githubstatus.com reporting a Pages outage? Please re-run the deployment at a later time'
2 Answers
It can be caused by several reasons, just re-run the deploy job after some minutes. For me, it worked.
If you are using GitHub Actions to deploy the code on every push:
Make sure you enabled the Build and deployment Source of "GitHub Actions"
Settings -> Pages section -> Build and deployment -> Source: GitHub Actions