Skip to content

Commit 7011309

Browse files
authored
Add necessary filter for check to run deploy on tag (#6)
* Add fnecessary filter for check to run deploy on tag * Add missing colon
1 parent 81c1284 commit 7011309

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2
1+
version: 2.4.4
22
jobs:
33
check:
44
environment:
@@ -41,7 +41,10 @@ workflows:
4141
version: 2
4242
workflow:
4343
jobs:
44-
- check
44+
- check:
45+
filters: # required since `deploy` has tag filters AND requires `check` https://circleci.com/docs/2.0/workflows/#executing-workflows-for-a-git-tag
46+
tags:
47+
only: /.*/
4548
- deploy:
4649
requires:
4750
- check

0 commit comments

Comments
 (0)