diff --git a/.circleci/config.yml b/.circleci/config.yml index 275eadf3..397ebf5b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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 \ No newline at end of file + - 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 \ No newline at end of file