Skip to content

GemFile and all folders that their names started with "_" vanish after deployment! #969

Closed Answered by djherron
mh-malekpour asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I started using al-folio recently and had the same experience and pondered the same question. You should find all the original source files and directories on a new branch called source. The master branch has become your DEPLOY branch --- so on it you only see the files/directories corresponding to your website as generated/built by Jekyll.

I found an explanation for this behaviour by reading the bin/deploy script itself. It's just a shell script, so you can load it into any text editor and read the shell code.

You'll see that when you invoke the script with the --user option, it sets variables SRC_BRANCH="source" and DEPLOY_BRANCH="master". If the SRC_BRANCH doesn't already exist, it…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rohandebsarkar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants