Skip to content

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

@JackGilmore

Description

@JackGilmore

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions