Skip to content

Commit

Permalink
repaired logic for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
George Hudson committed Oct 31, 2023
1 parent 7e0a5ab commit d8999ed
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .circleci/deployment/workflows.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#workflows:
deployment:
when:
or:
- equal: [ master, << pipeline.git.branch >> ]
- equal: [ main, << pipeline.git.branch >> ]
- equal: [ develop, << pipeline.git.branch >> ]
- << pipeline.parameters.run_dev_deployment >>
unless: << pipeline.parameters.run_nightly_owasp_scan >>
and:
- or:
- equal: [ master, << pipeline.git.branch >> ]
- equal: [ main, << pipeline.git.branch >> ]
- equal: [ develop, << pipeline.git.branch >> ]
- << pipeline.parameters.run_dev_deployment >>
- not: << pipeline.parameters.run_nightly_owasp_scan >>

jobs:
- deploy-project-updates-site:
Expand Down Expand Up @@ -126,4 +127,3 @@
only:
- develop
- master

0 comments on commit d8999ed

Please sign in to comment.