This project runs a daily pipeline to get the latest payphone data using the australianpayphones npm package.
Daily files are stored in the /data
directory
- Clone the repository
- Install packages -
npm install
- Get latest payphone data -
npm run get-latest-no-commit
This will get the latest payphone data and not commit back to the repository.
This is run in the pipeline. This gets the lastest payphone data and commits to the /data
directory.
This script required the following environment variables to configure git.
$COMMIT_EMAIL
- The email git should use.
$COMMIT_NAME
- The name git should use.