Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure _config.yml file? #53

Closed
kamontat opened this issue Nov 14, 2022 · 2 comments
Closed

How to configure _config.yml file? #53

kamontat opened this issue Nov 14, 2022 · 2 comments

Comments

@kamontat
Copy link

Thank you 🙇‍♀ for wanting to create an issue in this repository. Before you do, please ensure you are filing the issue in the right place. Issues should only be opened on if the issue relates to code in this repository.

If your issue is relevant to this repository, please delete this text and continue to create this issue. Thank you in advance.

@kamontat kamontat changed the title How to create _config.yml file How to configure _config.yml file? Nov 14, 2022
@yoannchaudet
Copy link
Collaborator

Hope it helps: http://jekyllrb.com/docs/configuration/

@kamontat
Copy link
Author

@yoannchaudet Let me re-phase the question.
My Github Action look like below

      - name: Building Jekyll output
        uses: actions/jekyll-build-pages@v1
        with:
          source: ./_docs
          destination: ./_site

So I try to add _config.yml on ./_docs however, it didn't load correctly. Put _config.yml on root is not a option as well because we develop monorepo and root are reserve for globally use config.

My idea is add another with for provide directory to _config.yml? What do you think

      - name: Building Jekyll output
        uses: actions/jekyll-build-pages@v1
        with:
          config: ./_docs/_config.yml
          source: ./_docs
          destination: ./_site

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants