-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (55 loc) · 2.08 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
on:
push:
branches:
- main
paths:
- .github/workflows/flat.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Setup deno
uses: denoland/setup-deno@main
with:
deno-version: v1.10.x
- name: Check out repo
uses: actions/checkout@v2
- name: Fetch data (Raindrop - On The Web)
uses: githubocto/flat@v3
with:
http_url: https://api.raindrop.io/rest/v1/raindrops/22861167
downloaded_filename: src/_data/raindrop/on_the_web.json
authorization: Bearer ${{ secrets.RAINDROP_KEY }}
- name: Fetch data (Raindrop - Apps and Software)
uses: githubocto/flat@v3
with:
http_url: https://api.raindrop.io/rest/v1/raindrops/22861155
downloaded_filename: src/_data/raindrop/apps_and_software.json
authorization: Bearer ${{ secrets.RAINDROP_KEY }}
- name: Fetch data (Raindrop - Blogs)
uses: githubocto/flat@v3
with:
http_url: https://api.raindrop.io/rest/v1/raindrops/22861059
downloaded_filename: src/_data/raindrop/blogs.json
authorization: Bearer ${{ secrets.RAINDROP_KEY }}
- name: Fetch data (Raindrop - Podcasts)
uses: githubocto/flat@v3
with:
http_url: https://api.raindrop.io/rest/v1/raindrops/22861052
downloaded_filename: src/_data/raindrop/podcasts.json
authorization: Bearer ${{ secrets.RAINDROP_KEY }}
- name: Fetch data (Raindrop - Books)
uses: githubocto/flat@v3
with:
http_url: https://api.raindrop.io/rest/v1/raindrops/22861019
downloaded_filename: src/_data/raindrop/books.json
authorization: Bearer ${{ secrets.RAINDROP_KEY }}
- name: Fetch data (Raindrop - Programming)
uses: githubocto/flat@v3
with:
http_url: https://api.raindrop.io/rest/v1/raindrops/22861020
downloaded_filename: src/_data/raindrop/programming.json
authorization: Bearer ${{ secrets.RAINDROP_KEY }}