Created
October 14, 2021 07:42
-
-
Save codetot/aa30f4c17da6354ebe9f7199d04402e0 to your computer and use it in GitHub Desktop.
CircleCI config for different task run by branch name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workflows: | |
version: 2 | |
build_and_test: | |
jobs: | |
- test_code: | |
filters: | |
branches: | |
only: /(feature|bugfix|hotfix)\/?(.*)/ | |
- build_assets: | |
filters: | |
branches: | |
only: /(develop|feature\/ci)/ | |
- release_production: | |
filters: | |
branches: | |
only: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment