Periodically fetch Mendeley API documentation at https://api.mendeley.com/apidocs/docs and store for easy change tracking.
Create app on Heroku account:
heroku create your-app
and add it as a remote. Then deploy:
git push heroku master
Add private key of a user which is able to commit to this repo.
heroku config:add PRIVATE_KEY="$(cat dummy-id-rsa)"
Add scheduler that will be invoking fetching:
heroku addons:create scheduler:standard
heroku addons:open scheduler
and enter ./fetch.sh
.