the_od_bods icon indicating copy to clipboard operation
the_od_bods copied to clipboard

Running export2jkan.py via main.py does not update files

Open JackGilmore opened this issue 2 years ago • 0 comments

Describe the bug When running export2jkan.py via the main.py file, this does not update the files in the jkan _datasets directory, meaning that the site does not get updated.

To Reproduce

  1. Run main.py with the lines for merge data_and export2jkan uncommented.
  2. Observe that data folder in the_od_bods repo is updated but _datasets folder in jkan repo is not

Expected behavior JKAN repo should also be updated. Workaround for now is to run merge_data and export2jkan after main.py has ran.

Screenshots image Excerpt from a full run of main.py https://github.com/OpenDataScotland/opendata.scot_pipeline/actions/runs/5181569810/jobs/9337253401

Hardware and software used Should be N/A but was experienced via Pipeline (GH Actions using Ubuntu), Windows 10 and Ubuntu on WSL (all using Python 3.9)

Additional context N/A

JackGilmore avatar Jun 09 '23 20:06 JackGilmore