Skip to content

Commit

Permalink
Update .circleci/config.yml (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzei authored Jun 16, 2020
1 parent 7f4fc71 commit 8156502
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,26 @@ orbs:
plugin-ci: mattermost/plugin-ci@volatile

workflows:
ci-build:
version: 2
nightly:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
jobs:
- plugin-ci/lint
- plugin-ci/test
- plugin-ci/build
ci:
jobs:
- plugin-ci/lint:
filters:
tags:
only: /^v.*/
- plugin-ci/test:
- plugin-ci/coverage:
filters:
tags:
only: /^v.*/
Expand All @@ -25,18 +38,7 @@ workflows:
context: plugin-ci
requires:
- plugin-ci/lint
- plugin-ci/test
- plugin-ci/build
- plugin-ci/deploy-release:
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
context: plugin-ci
requires:
- plugin-ci/lint
- plugin-ci/test
- plugin-ci/coverage
- plugin-ci/build
- plugin-ci/deploy-release-github:
filters:
Expand All @@ -47,5 +49,5 @@ workflows:
context: matterbuild-github-token
requires:
- plugin-ci/lint
- plugin-ci/test
- plugin-ci/coverage
- plugin-ci/build

0 comments on commit 8156502

Please sign in to comment.