diff --git a/tools/ansible/vars/deploy_vars.yml b/tools/ansible/vars/deploy_vars.yml index c0e2cb0..beaa75d 100644 --- a/tools/ansible/vars/deploy_vars.yml +++ b/tools/ansible/vars/deploy_vars.yml @@ -14,7 +14,7 @@ ansistrano_after_update_code_tasks_file: '{{ playbook_dir }}/deploy/after-update app_hash_salt: '{{ vault_app_hash_salt }}' -zapier_post_tweet_url: '{{ vault_zapier_post_tweet_url }}' +post_tweet_webhook_url: '{{ vault_post_tweet_webhook_url }}' release_drush_path: '{{ ansistrano_release_path.stdout }}/bin/drush' release_web_path: '{{ ansistrano_release_path.stdout }}/{{ project_web_dir }}' @@ -63,4 +63,4 @@ drupal_settings: $settings['reverse_proxy_header'] = 'CF-Connecting-IP'; $settings['omit_vary_cookie'] = TRUE; - $config['opdavies_blog.settings']['zapier_post_tweet_url'] = '{{ zapier_post_tweet_url }}'; + $config['opdavies_blog.settings']['post_tweet_webhook_url'] = '{{ post_tweet_webhook_url }}'; diff --git a/web/modules/custom/blog/config/schema/opdavies_blog.schema.yml b/web/modules/custom/blog/config/schema/opdavies_blog.schema.yml index 5ef5baf..9042e85 100644 --- a/web/modules/custom/blog/config/schema/opdavies_blog.schema.yml +++ b/web/modules/custom/blog/config/schema/opdavies_blog.schema.yml @@ -2,5 +2,5 @@ opdavies_blog.settings: type: config_object label: 'Blog module configuration' mapping: - zapier_post_tweet_url: + post_tweet_webhook_url: type: string diff --git a/web/modules/custom/blog/src/EventSubscriber/PushBlogPostToSocialMedia.php b/web/modules/custom/blog/src/EventSubscriber/PushBlogPostToSocialMedia.php index b95f315..d3e94d6 100644 --- a/web/modules/custom/blog/src/EventSubscriber/PushBlogPostToSocialMedia.php +++ b/web/modules/custom/blog/src/EventSubscriber/PushBlogPostToSocialMedia.php @@ -66,7 +66,7 @@ final class PushBlogPostToSocialMedia implements EventSubscriberInterface { return; } - if (!$url = $this->config->get('zapier_post_tweet_url')) { + if (!$url = $this->config->get('post_tweet_webhook_url')) { return; }