Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.01 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.01 KB

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