Repository: special-route-publisher
Publishes special routes on GOV.UK
- Ownership
- #govuk-publishing-experience-tech
- Hosting
- N/A
- Category
- Utilities
README
Publishes special routes to the Publishing API on behalf of other apps.
Technical documentation
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.
Running the test suite
bundle exec rake
Running the rake tasks
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.
Deployment
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.
Licence
MIT License