Skip to content

NewsData

NewsData #6953

Workflow file for this run

name: NewsData
on:
workflow_dispatch:
schedule:
- cron: '20 */2 * * *' ## at minute 20 past every 2nd hour
jobs:
newsdata:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Downloading the news
uses: ./.github/actions
with:
url: 'https://newsdata.io/api/1/news?country=us&language=en&apikey=${{ secrets.API_NEWSDATA }}'
news_key: 'results'