### What is the name of the config kind? .circleci/config.yml ### Config Tip workflows: version: 2 build-main: jobs: - build: filters: branches: only: main - publish-latest: requires: - build filters: branches: only: main - deploy: requires: - publish-latest filters: branches: only: main ### Give us a short description of the config kind This tip adds the filtering on the workflows enforcing it to take place on a given git branch ### Body Area This tip will help you when deploying to production, by enforcing the deployments/publishing on a given and specific branch. ### Anything Else? _No response_
What is the name of the config kind?
.circleci/config.yml
Config Tip
workflows:
version: 2
build-main:
jobs:
- build:
filters:
branches:
only: main
- publish-latest:
requires:
- build
filters:
branches:
only: main
- deploy:
requires:
- publish-latest
filters:
branches:
only: main
Give us a short description of the config kind
This tip adds the filtering on the workflows enforcing it to take place on a given git branch
Body Area
This tip will help you when deploying to production, by enforcing the deployments/publishing on a given and specific branch.
Anything Else?
No response