Set multiple .circleci folder in a project


#1

Assuming that I have a folder which looks like this:

  • server
    • .circleci
  • webapp
    -.circleci
  • other
    -.circleci

If I want the project to build for the multiples apps at once or only one of those, how do I set the location where to find the .circleci configuration if they are not in the root?


#2

I don’t think that’s going to be possible since you can’t configure anything inside of the config file if you can’t find it in the first place. You would be better off putting some conditional logic inside of a single config file.


#3

You can’t. .circleci/config.yml needs to be at the root of the repository.


#4

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.