DEV Community

Discussion on: Create a portfolio using React and GitHub Student Developer Pack

Collapse
 
siriusdagar profile image
Anupam Dagar

Hi Arjun.
This is the most asked doubt to me by the readers. The difference between the blog and readers ques was in the part that readers were trying it for githubusername.github.io repo which I didn't in the blog.
For githubusername.github.io repo, it can only be deployed by master branch while by default gh-pages library deploy to the gh-pages branch.
Changing your deploy script to gh-pages -d build -b master should resolve this issue.
I will add this to the blog soon.

Thank you for reading the blog.

Collapse
 
sootaarjun profile image
Arjun Soota

Thanks for the reply. I anyways deployed via Netlify. Great Article btw !