generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
28 lines (28 loc) · 1003 Bytes
/
action.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
name: Article Fetcher
description: Fetch articles from Zenn and Qiita.
author: [email protected]
inputs:
zenn:
description: '(JSON array) Accounts of Zenn. ex: [ { "id": "mk2", "name": "朝倉(zenn)" }, { "id": "zenn", "name": "zenn(公式)" } ]'
qiita:
description: '(JSON array) Accounts of Qiita. ex: [ { "id": "mk2", "name": "朝倉(qiita)" }, { "id": "Qiita", "name": "Qiita(公式)" } ]'
qiitaAccessToken:
description: '(string) Token for Qiita API access. If missing it, requests not authorized.'
fromDaysAgo:
description: '(number) Extract articles from a specified period.'
default: 1
retentionDays:
description: '(number) Period for articles artifact holding.'
default: 1
artifactName:
description: '(string) Articles artifact name.'
default: articles
outputJsonFileName:
description: '(string) Articles output file name.'
default: articles.json
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'arrow-down'
color: 'blue'