DEV Community

Discussion on: Deploy Gatsby sites to GitHub Pages

Collapse
 
nitishk72 profile image
Nitish Kumar Singh

What is the setting of your netlify.

As I have seen you have to branch dev and master. Netlify have ability yo pull a branch and build it and then deploy.

My question is that

which branch you are using on Netlify and with what settings ?

Collapse
 
flexdinesh profile image
Dinesh Pandiyan

The source code is in this repo. Netlify deploys automatically everytime I push to master.

Collapse
 
nitishk72 profile image
Nitish Kumar Singh

How GitHub pages works ?
I mean from which branch.

Thread Thread
 
flexdinesh profile image
Dinesh Pandiyan

I have a script deploy:github that deploys the code to github pages. I do it manually every time I make a change.