Get notified on Discord when someone posts an article from your domain on Hacker News
npm install
npm run build
Ref:
- https://devcenter.heroku.com/articles/deploying-nodejs
- https://devcenter.heroku.com/articles/app-json-schema#env
Initial setup:
heroku login
heroku create
heroku config:set DISCORD_WEBHOOK=xxx
heroku config:set DOMAIN=xxx
Deployment:
git push heroku main