How do I prevent the GitHub Pages “Automatic Generator” to remove everything before regenerate the site?

后端 未结 4 1389
逝去的感伤
逝去的感伤 2021-01-31 20:34

I created a wonderful GitHub Pages website for my little project, and I added some other pages into the gh-pages branch. My problem is that, everytime I regenerate

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-31 20:56

    You can configure Jekyll to skip certain directories with the exclude option.

    (Note that Jekyll has a keep_files option -- that is for the files in the destintation directory.)

提交回复
热议问题