I need a custom GitHub action script built.

Job ID: 31412027

Budget: $30 – $250 AUD

I have a repo that currently hosts files for a site on Netlify. At the moment each visitor to the site makes a fresh API request to get the data to display on the site. This data will rarely change so instead I would like to the site to pull the data from a static file (say data.json) and run a github action that will pull in the latest data from the API and overwrite data.json with the latest api data.

I alreay have a node.js script running on my local machine that does what I am after. I need someone to help me get that running as Github action.

The main goals are:
- Run the script once per day at a specific time (say 2.30 am)
- Gather the data from the API and write it to a JSON file in the root directory of my GitHub repo.

I have written my script in node.js/javascript but it doesn't have to be in that same language. As long as it does the task above I don't care what language it is in.
Related categories: JavaScript Python Node.js GitHub