Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

data

data #1374

Workflow file for this run

name: data
on:
schedule:
- cron: 0 0 * * *
workflow_dispatch: {}
push:
paths:
- .github/workflows/flat.yml
- ./postprocess.ts
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Setup deno
uses: denolib/setup-deno@v2
- name: Check out repo
uses: actions/checkout@v2
- name: Fetch data
uses: githubocto/flat@v2
with:
http_url: https://api.coindesk.com/v2/bpi/currentprice.json
downloaded_filename: btc-price.json
postprocess: ./postprocess.ts