generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
37 lines (37 loc) · 1013 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
29
30
31
32
33
34
35
36
37
name: 'Blogs Cross-Post Action for Teams'
description: 'GitHub action for teams to easily cross-post blog article on dev.to, Hashnode and Medium.'
author: '@ommyjay'
inputs:
files_location:
required: true
description: 'articles files location'
default: 'posts/**/*.md'
dry_run:
required: true
description: 'post articles to the blogs and update local files'
default: 'true'
publish:
required: true
description: 'releses articles to the public by default'
default: 'false'
devto_api_key:
required: true
description: 'author dev.to api key'
medium_api_key:
required: true
description: 'author medium api key'
devto_org_id:
required: true
description: 'dev.to org id'
medium_blog_id:
required: true
description: 'medium blog id'
hashnode_api_key:
required: true
description: 'author hashnode api key'
hashnode_blog_id:
required: true
description: 'hashnode blog id'
runs:
using: 'node16'
main: 'dist/index.js'