What's the difference between .circleci folder and circle.yml?


Hi There,

Setting up CircleCI for the first time.
I followed this guide:

So the .circleci folder with config.yml setup worked.

But then I read this guide:

And tried using just circle.config at the root and it also worked.

What’s the difference between the two?
Any benefit for the .circleci folder?



You pretty much answered your own question. For Circle CI 2.0 a new format was introduced. The config also lives elsewhere as you point out.

If you prefer 1.0, you then also use the older format at the different path.


.circleci/config.yml is a new feature of 2.0

On 1.0 you must still use a circle.yml at the root of the project.

There are no immediate differences right now, but in the future there will be more types of configurations that can go into the .circleci folder.


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