Table of contents

Publish changes to the business readiness finder

If you are trying to update the content returned by the business readiness finder, see: Update content for the business readiness finder

The full journey for the business readiness finder is made up of the following content items:

  1. The start page: /business-uk-leaving-eu
  2. The Q&A: /prepare-business-uk-leaving-eu
  3. The finder: /find-eu-exit-guidance-business

The content for the start page can be updated in Mainstream Publisher as you would any other start page.

The content item for the Q&A doesn’t actually contain any details. The titles of the questions are defined in a YAML file in [finder frontend][finder-frontend]. However the body of the question, for example the options if the question is a checkbox, are read from the content item of the finder itself (content item 3 in the list). Finder frontend searches the content item for a facet “key” that matches the question, e.g. sector_business_area to find the question content.

The content item for the finder is updated from a YAML file. Any changes to this YAML file affect both the facets in the finder and the options in the Q&A.

Updating question titles

  1. Update the content of the YAML file in [finder frontend][finder-frontend]
  2. Merge and deploy the changes

Updating the business readiness finder

The content item for the business readiness finder is published by rummager. However the actual config is read in from govuk-app-deployment-secrets.

  1. Update govuk-app-deployment-secrets
  2. Merge the changes to govuk-app-deployment-secrets
  3. Re-deploy Rummager so it can pick up the changes in govuk-app-deployment-secrets

N.B. If you have made changes to the facets, you may also need to re-deploy email-alert-api and finder-frontend

  1. Run the publishing_api:publish_document_finder rake task in rummager to publish the changes:

    download

  2. If you are making changes to the schema, you may also need to reindex elasticsearch.

This page was last reviewed on 18 January 2019. It needs to be reviewed again on 18 April 2019 by the page owner #govuk-platform-health .
This page was set to be reviewed before 18 April 2019 by the page owner #govuk-platform-health. This might mean the content is out of date.