GemFile and all folders that their names started with "_" vanish after deployment! #969
-
Describe the bug Repository: link System (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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 I found an explanation for this behaviour by reading the You'll see that when you invoke the script with the It then invokes Jekyll to build the site on your DEPLOY_BRANCH. Then the script deletes all the unwanted source files/directories from the DEPLOY_BRANCH --- everything that's not wanted for deploying your site and making it live. This is why your source files/directories disappear from the So, the moral of the story is that, if you choose to deploy manually by running the For now, I've opted to take a different path. I started working with the 'automatic deployment' feature of al-folio rather than doing manual deployment by running This method is working smoothly for me now and I'm happy. But it was fiddly to get it working properly. Two fiddly things occurred. First, the auto-deployment FAILED with a weird error message about a particular Liquid tag called 'twitter' not being recognised/supported. To get past that problem, I edited the sample blog post Second, the auto-deployment FAILED because it wanted a I then tried an experiment of re-instating the twitter tweet loading lines that I had initially removed from blog post Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Thank you. |
Beta Was this translation helpful? Give feedback.
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
. Themaster
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…