jeffreytse / jekyll-deploy-action

🪂 A Github Action to deploy the Jekyll site conveniently for GitHub Pages.
MIT License
329 stars 44 forks source link

What is the base path of jekyll_cfg value ? #46

Closed Doreapp closed 2 years ago

Doreapp commented 2 years ago

Hi, I am wondering what is the base path of jekyll_cfg value, is it the repository's root or jekyll_src value. For example, given a repository like:

root
│   README.md
└───github-pages
│   │   _config.yml
│   │   index.md
│   └───assets
│       │   ...

The jekyll_src being github-pages, does jekyll_cfg should be _config.yml (assuming it will be built as <jekyll_src>/<jekyll_cfg>) or github-pages/_config.yml (assuming it will be built regardless jekyll_src) ?

Doreapp commented 2 years ago

According to tests, jekyll_cfg value is not relative to jekyll_src. For the example above, it should then be github-pages/_config.yml.