We need sync.sh file to be parametrized as per datapub project, for example for NHS it should look like this, while we are fetching datapub-nhs or just nhs from config.
(for datapub-nhs - https://github.com/datopian/datapub-nhs)
git clone git@github.com:datopian/datapub-nhs.git
cd datapub-nhs
yarn
yarn build
cd -
rm -r ckanext/datapub/fanstatic/**/*
cp -r datapub-nhs/build/static/* ckanext/datapub/fanstatic/
Acceptance
Tasks
We need sync.sh file to be parametrized as per datapub project, for example for NHS it should look like this, while we are fetching
datapub-nhsor justnhsfrom config.(for datapub-nhs - https://github.com/datopian/datapub-nhs)
Acceptance
sync.shis parametrized with whatTasks
sync.shuses datapub specific project name as config variable