Pushes to specific branch not triggering build

I’m trying to get CircleCI to build on pushes to a specific branch, but builds are not being triggered. The only thing working at this point are builds being triggered on pushes to master. I have added the following to my circle.yml and pushed it:

general:
branches:
only:
- dev

Is that snippet in circle.yml for all branches?