Updating component and template policies in code
I am having an issue with updating a specific component's policy. I have updated it in code, but when I deploy the code, the changes are not there.
I have a file /conf/project/settings/wcm/policies/.content.xml that includes all policies related to templates and components. Within it I have a custom component called hero-banner that I added a style called "half-height" to in code. I have also added the associated styles and the filter includes the entire root when deploying.
<filter root="/conf" mode="merge"/>
<cq:styleGroups jcr:primaryType="nt:unstructured">
<display-variation
cq:styleGroupLabel="Alternate Version"
jcr:primaryType="nt:unstructured">
<cq:styles jcr:primaryType="nt:unstructured">
<title <-- EXISTING STYLE
cq:styleClasses="cmp-hero-banner--title-only"
cq:styleId="hero-banner--title-only"
cq:styleLabel="Page Title"
jcr:primaryType="nt:unstructured"/>
<half-height <-- ADDED STYLE
cq:styleClasses="half-height"
cq:styleId="half-height"
cq:styleLabel="Half Height"
jcr:primaryType="nt:unstructured"/>
<full-height <-- EXISTING STYLE
cq:styleClasses="full-height"
cq:styleId="full-height"
cq:styleLabel="Full Height"
jcr:primaryType="nt:unstructured"/>
</cq:styles>
</display-variation>
My issue is that these changes I make are not added to the server. The htl, css, and js files are updated, but not the component policies. What could I be doing wrong?

