Locally building and pushing jekyll site to github pages

前端 未结 3 1593
猫巷女王i
猫巷女王i 2021-01-03 11:55

I am using the gem \"jekyll-assets\" on my site and it fails when pushing to github pages. I have read that a way around this is to build the site locally, which builds just

3条回答
  •  佛祖请我去吃肉
    2021-01-03 12:30

    You may want to try jgd command line, which automates all the steps suggested by other answers, in one simple call:

    $ jgd
    

    The site will be packaged and then deployed to the gh-pages branch of your repo, provided you have all permissions configured. More about it in this blog post of mine: Deploy Jekyll to GitHub Pages

提交回复
热议问题