Hi, thanks for writing this tutorial!
I followed the instructions but I'm still getting an error after running deploy from the source branch.
'fatal: A branch named 'master' already exists.'
Do you have any idea why?
Never mind , I managed to get it work. Thanks again for the instructions! :)
I am having the exact same problem right now but I could not get it work. Could you please share how did you solve it?
EDIT: for anybody who would face the same problem: refer here
I could not solve this problem so I came up with another solution: -check out a new branch called "source" which is an exact copy of "master".
-deploy the site to branch "gh-pages" with usual gh-pages npm module. (I use npm in my example, but the script is same.)
It is a not a clean solution though. Any feedback is much appreciated.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.