This page was posted automatically from a commit
tl;dr: This URL was posted to hackernews automatically from a github action I wrote: action-hackernews-post.
Motivations
Earlier this year I started writing online regularly. I committed to a pace of weekly updates on my creative project—24HourHomepage—all posted on Medium.
I recently migrated all my articles from Medium to this domain with the hopes of having a "write once, publish many" sort of flow.
So I wrote this github action to submit a URL and title to hackernews.
Applications
- Announce new versions of your OSS project
- Publish part of your github pages blog
Installations
When configuring your github actions workflow, add the package like so
uses: higgins/action-hackernews-post@v1.0.1
with:
HN_USERNAME: ${{ secrets.HN_USERNAME }}
HN_PASSWORD: ${{ secrets.HN_PASSWORD }}
POST_TITLE: "A clock where every second is user submitted content"
POST_URL: https://24HourHomepage.com
Be sure to set HN_USERNAME and HN_PASSWORD in github secrets or
via another secure method.
For a full example, read this repo's workflow source.
Gravitations
If you enjoyed this, let me know! —justin
If you want regular updates of my work, here is my newsletter or the RSS feed for this blog.