mysociety / theyworkforyou

Keeping tabs on the UK's parliaments and assemblies
http://www.theyworkforyou.com/
Other
224 stars 50 forks source link

Add TWFY_VOTES_URL to docker config #1760

Closed ajparsons closed 4 months ago

ajparsons commented 5 months ago

Some of the prepopulate scripts depend on having the variable set, but at the moment we're not storing it in the config because it's not the final URL.

This passes through a variable from codespaces secrets to the docker container, and to the php config, which lets the prebuild process gather all the data needed.

(In principle the url will then be available through the prebuild - but as it's not secret secret this is fine)