Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Deploy your App to GitHub Pages with Gulp

Francis N
Francis N
10,376 Points

deploy app to github pages with gulp issues

Hello,

I went through the Gulp Basics, Using "gulp-useref" and Deploy App to Github Pages with Gulp tutorials and when I finished, my page on github pages pulls a 404 error. Unlike the tutorial videos, my page has a CNAME. I used my personal website as testing grounds to learn Gulp. At this point, I do not know how to debug the issues because everything looks like it should work. I did read someone on Github that if you are using <username>.github.io , that I cannot publish site from different locations other than master branch. Currently I have everything built out and deploy to src. Can someone help explain what is it that I am doing wrong? And also, what is the difference between gulp deploy and git push origin master?

Here is my github: https://github.com/francisngo/francisngo.github.io

Much appreciated. :)