Publishes special routes on GOV.UK
Publishes special routes to the Publishing API on behalf of other apps.
You can use the GOV.UK Docker environment to run the tests and rake commands on your local machine. Follow the usage instructions to get started.
Use GOV.UK Docker to run any commands that follow.
bundle exec rake
You will need to start Publishing API and Content Store to run the following commands locally.
To publish all routes:
env PUBLISHING_API_BEARER_TOKEN=abc bundle exec rake publish_special_routes
To publish one route:
env PUBLISHING_API_BEARER_TOKEN=abc bundle exec rake publish_one_route["/base-path"]
See “Publish special routes” for quick links to the Jenkins jobs that invoke the rake tasks above.
This app isn’t deployed anywhere. The repository is cloned by the Jenkins jobs, so any new changes are immediately picked up by the rake tasks.