autoupdate.sh 475 B

12345678910111213141516
  1. #!/bin/sh
  2. export PATH=/usr/local/bin:$PATH
  3. # Enter this script's folder
  4. cd "${0%/*}"
  5. now=$(date +'%d.%m.%Y')
  6. echo "================================================" | tee /dev/stderr
  7. echo "= Starting metadata update at $now" | tee /dev/stderr
  8. echo "================================================" | tee /dev/stderr
  9. npm run metadata:update:job
  10. # Older way through submitting a pull request to github
  11. # npm run metadata:update:pull-request