Skip to content

CurrentsAPI

CurrentsAPI #6980

Workflow file for this run

name: CurrentsAPI
on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *' ## at minute 0 past every 2nd hour
jobs:
currentsapi:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Downloading the news
uses: ./.github/actions
with:
url: 'https://api.currentsapi.services/v1/latest-news?language=en&apiKey=${{ secrets.API_CURRENTSAPI }}'
news_key: 'news'