3 ms·
I love this. I'm a Haskell newbie, I only do Haskell in my spare time, only sometimes, so I don't have time to hunt around for recipes. Kudos to the author, I'
by bad_user 7y ago
I love this.
I'm a Haskell newbie, I only do Haskell in my spare time, only sometimes, so I don't have time to hunt around for recipes. Kudos to the author, I'll surely borrow from this.
---
I also built a simple web server in Haskell for triggering commands via GitHub's Webhooks [1].
So if you're interested in a very simple, yet useful web app to analyze, see:
https://github.com/alexandru/github-webhook-listener https://github.com/alexandru/github-webhook-listener
My use-case is to serve a static website using my own VPS, but have Travis build the website (via a static generator) for me. After Travis builds the website via Jekyll, it pushes it to the gh-pages branch, then GitHub pings my server via the installed webhook, which triggers a refresh with the latest build.
[1] https://developer.github.com/webhooks/ https://developer.github.com/webhooks/
- ghostwriter 7y agoMigrate your static site to Hakyll https://jaspervdj.be/hakyll/ https://jaspervdj.be/hakyll/ from Jekyll, and use git subtree (http://brittanderson.github.io/posts/2018-01-17-hakyll-and-github-with-subtrees.html http://brittanderson.github.io/posts/2018-01-17-hakyll-and-g...) to publish on GitHub Pages without Travis :)