Skip to content

Commit

Permalink
ci: restore conditionals in deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mindctrl committed Feb 6, 2024
1 parent c9afb25 commit af7bfb4
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ jobs:

workflows:
deploy:
# when:
# equal: [ "release", << pipeline.parameters.GHA_Event >> ]
when:
equal: [ "release", << pipeline.parameters.GHA_Event >> ]
jobs:
- plugin-unzip:
slug: wpgraphql-content-blocks
Expand All @@ -154,26 +154,26 @@ workflows:
- plugin-unzip
- plugin-build-json
filters:
# branches:
# only:
# - main
# - canary
branches:
only:
- main
- canary
tags:
only: /.*/
context: wpe-ldap-creds
auth_url: https://auth-staging.wpengine.io/v1/tokens
upload_url: https://wp-product-info-staging.wpesvc.net/v1/plugins
# - plugin-deploy:
# name: "plugin-deploy-production"
# slug: wp-graphql-content-blocks
# requires:
# - "plugin-deploy-staging"
# filters:
# branches:
# ignore: /.*/
# tags:
# # tag ex. 1.0.0
# only: /^\S+/
# context: wpe-ldap-creds
# auth_url: https://auth.wpengine.io/v1/tokens
# upload_url: https://wp-product-info.wpesvc.net/v1/plugins
- plugin-deploy:
name: "plugin-deploy-production"
slug: wp-graphql-content-blocks
requires:
- "plugin-deploy-staging"
filters:
branches:
ignore: /.*/
tags:
# tag ex. 1.0.0
only: /^\S+/
context: wpe-ldap-creds
auth_url: https://auth.wpengine.io/v1/tokens
upload_url: https://wp-product-info.wpesvc.net/v1/plugins

0 comments on commit af7bfb4

Please sign in to comment.