open-contracting / standard

Documentation of the Open Contracting Data Standard (OCDS)
http://standard.open-contracting.org/
Other
139 stars 46 forks source link

Update CI and deploy-docs.sh to index latest branch (or search.js to search correct index) #1373

Closed jpmckinney closed 3 years ago

jpmckinney commented 3 years ago

To simplify deployment, the latest branch is a symlink to the most recent live branch (1.1 for OCDS).

However, deploy-docs.sh only indexes the branch being deployed, and so the latest index is now stale.

The options are to either update the latest index during deployment, or change search.js to use the live branch's index.

jpmckinney commented 3 years ago

This should be fixed by https://github.com/open-contracting/deploy/commit/3e96ac79a1fa3bdd1e5cf2dea8c85c07ae1fd7bc on the next deployment.