Skip to content

Commit

Permalink
Add contexts back in
Browse files Browse the repository at this point in the history
  • Loading branch information
kienstra committed Aug 2, 2023
1 parent ff47b50 commit d013735
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ orbs:
wp-svn: studiopress/[email protected]

jobs:
checks:
lint:
docker:
- image: cimg/php:7.3-node
steps:
Expand All @@ -14,34 +14,35 @@ jobs:
workflows:
test-deploy:
jobs:
- checks
- lint
- approval-for-deploy-tested-up-to-bump:
type: approval
requires:
- checks
- lint
filters:
tags:
ignore: /.*/
branches:
only: /^bump-tested-up-to.*/
- wp-svn/deploy-tested-up-to-bump:
context: genesis-svn
requires:
- approval-for-deploy-tested-up-to-bump

tag_deploy:
tag-deploy:
jobs:
- checks:
- lint:
filters:
tags:
only: /^\d+\.\d+\.\d+$/
branches:
only: /.*/
ignore: /.*/
- wp-svn/deploy:
dry-run: true
context: genesis-svn
requires:
- checks
- lint
filters:
tags:
only: /^\d+\.\d+\.\d+$/
branches:
only: /.*/
ignore: /.*/

0 comments on commit d013735

Please sign in to comment.