You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
Thanks for the tip @joseph-njogu! If you're interested in making a PR, we'd love to give you the appropriate credit. Contributors will appear on https://config.tips/about/.
If you just want to share the tip as an issue that's just fine too! We'd love to give the opportunity for someone else to commit this too!
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
The text was updated successfully, but these errors were encountered: