webuildsg / webuild

:memo: Robot-handpicked list of open events and open source for designers, developers and makers in Singapore
https://webuild.sg/
MIT License
62 stars 33 forks source link

cron job is being triggered twice #208

Closed sayanee closed 8 years ago

sayanee commented 8 years ago

https://github.com/webuildsg/data/issues/52

notthetup commented 8 years ago

Seems like it commits to gh-pages or staging branch based on the environment.

https://github.com/webuildsg/webuild/blob/c2f5f1cb8016bbd3c47c1baa219c48154423ccce/archives/index.js#L9

sayanee commented 8 years ago

yeah... i totally skipped archival if NODE_ENV is not production for now :laughing:

no json files were being pushed to staging branch either

sayanee commented 8 years ago

closed with https://github.com/webuildsg/data/issues/52