/daily-hackernews-action

🗞 Daily top hackernews stories with Github Action & Telegram

Primary LanguageJavaScriptMIT LicenseMIT

Daily HackerNews Action

Let's get top Hackernews everyday via Telegram.

Usage

As getting a daily top hacker news through Telegram.

name: Daily HackerNews
on:
  schedule:
  - cron: 0 12 * * *  # Every day at noon

jobs:
  daily_hackernews:
    name: Daily HackerNews
    runs-on: ubuntu-latest
    steps:

    - name: daily-hackernews
      uses: actions/checkout@v1.0
      with:
        chat_id: "Telegram chat id"
        coount: 5
      env:
        TELEGRAM_KEY: ${{ secrets.TELEGRAM_KEY }}

In action :

Inputs

License

MIT