{"action":"opened","issue":{"url":"https://api.github.com/repos/davidalger/capistrano-magento2/issues/43","repository_url":"https://api.github.com/repos/davidalger/capistrano-magento2","labels_url":"https://api.github.com/repos/davidalger/capistrano-magento2/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/davidalger/capistrano-magento2/issues/43/comments","events_url":"https://api.github.com/repos/davidalger/capistrano-magento2/issues/43/events","html_url":"https://github.com/davidalger/capistrano-magento2/issues/43","id":189146573,"number":43,"title":"Purging vanish after a deployment","user":{"login":"KevinMace","id":1065240,"avatar_url":"https://avatars.githubusercontent.com/u/1065240?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinMace","html_url":"https://github.com/KevinMace","followers_url":"https://api.github.com/users/KevinMace/followers","following_url":"https://api.github.com/users/KevinMace/following{/other_user}","gists_url":"https://api.github.com/users/KevinMace/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinMace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinMace/subscriptions","organizations_url":"https://api.github.com/users/KevinMace/orgs","repos_url":"https://api.github.com/users/KevinMace/repos","events_url":"https://api.github.com/users/KevinMace/events{/privacy}","received_events_url":"https://api.github.com/users/KevinMace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-14T15:47:17Z","updated_at":"2016-11-14T15:47:17Z","closed_at":null,"body":"I'm trying to purge varnish during a deployment, i've seen in `magento.rake` the code that purges varnish, but i'm getting an error when it runs.\r\n\r\nI've added the following to my production.rb:\r\n\r\n``\r\nset :ban_pools, ['default']\r\n``\r\n``\r\nset :varnish_cache_hosts, [first_ip_address', 'second_ip_address']\r\n``\r\n\r\nDuring a deployment I get an error because the Magento vanish.vcl expect the  ``X-Magento-Tags-Pattern header`` which doesn't appear to be set during the purge request.\r\n\r\nIs the curl command that attempts to flush varnish passing the appropriate header?\r\n\r\n"}}
{"actor":{"display_login":"KevinMace"}}