-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (40 loc) · 1.44 KB
/
flat.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: data
on:
schedule:
- cron: 1 */4 * * *
workflow_dispatch: {}
push:
paths:
- .github/workflows/flat.yml
- process-pool.js
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Setup deno
uses: denoland/setup-deno@main
with:
deno-version: v1.x
- name: Check out repo
uses: actions/checkout@v3
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://api.coingecko.com/api/v3/coins/evmos?localization=false&tickers=true&market_data=true&community_data=false&developer_data=false
downloaded_filename: evmos-market-1h-unprocessed.json
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://api.coingecko.com/api/v3/coins/evmos?localization=false&tickers=false&market_data=false&community_data=false&developer_data=true
downloaded_filename: evmos-sentiment-unprocessed.json
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://rest.bd.evmos.org:1317/cosmos/bank/v1beta1/balances/evmos1jv65s3grqf6v6jl3dp4t6c9t9rk99cd8974jnh
downloaded_filename: evmos-community-pool.json
postprocess: process-pool.js
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://commonwealth.im/api/activeThreads?chain=evmos&threads_per_topic=10
downloaded_filename: cw-active-threads.json