jiyeonseo / daily-hackernews-action

πŸ—ž Daily top hackernews stories with Github Action & Telegram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

πŸ—ž Daily top hackernews stories with Github Action & Telegram

License:MIT License


Languages

Language:JavaScript 100.0%