If a Content Designer adds a new page via Github, there's a good chance they'll be an external contributor.
See How to merge a change from an external contributor in the developer docs
The examples below are from a release from the Start Pages team
Once the change is merged, you can release these in two steps.
- Deploy publisher
- Run the Rake task to publish the new page
Go to the Jenkins Rake task job (Staging) (Production)
Run the task with the following parameters
Field | Value |
---|---|
TARGET_APPLICATION | publisher |
MACHINE_CLASS | backend |
RAKE_TASK | service_sign_in:publish[check-update-company-car-tax.en.yaml] |
- Follow the steps outlined above.
- If a
choose_sign_in
option text has changed, the page must be purged from the cache. As the option text is parameterized to provide an option value for the radio button, failing to purge the page for the cache will result in a mismatch between the option value provided by the form and the option text in the content item, resulting in a 500 error.
-
Find the
content_id
andlocale
of the page you would like to unpublish. -
Go to the Jenkins Rake task job on Staging or Production
There are two ways to unpublish a Service Sign In Page; with a redirect, and without a redirect (410 gone).
- Run the task with the following parameters, replacing the content-id, locale and /redirect/path with your own values.
Field | Value |
---|---|
TARGET_APPLICATION | publisher |
MACHINE_CLASS | backend |
RAKE_TASK | service_sign_in:unpublish_with_redirect[content-id,locale,/redirect/path] |
- Run the task with the following parameters, replacing the content-id and locale with your own values.
Field | Value |
---|---|
TARGET_APPLICATION | publisher |
MACHINE_CLASS | backend |
RAKE_TASK | service_sign_in:unpublish_without_redirect[content-id,locale] |