-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
27 lines (27 loc) · 1023 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
name: 'Publish Blog Post'
description: 'Publish a blog post to the hosting supported (Dev.to)'
author: 'Thiago Mendonca'
branding:
icon: 'book-open'
color: 'purple'
inputs:
token:
description: 'GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)'
default: ${{ github.token }}
publishTo:
description: Websites to publish blog post. Current allowed values are 'devTo' and 'medium'
required: true
default: 'devTo'
devToApiKey:
description: API Key to use to publish blog post to Dev.to website
required: false
includeFolders:
description: Folders to look for post files to publish/update. Multiple folders can be speficied, one folder per line
required: false
commitMessage:
description: 'Commit message template to be used when a published file is commited with update data. %file is replaced with the file name and %lang with language'
required: false
default: 'publish/update %file with updated data'
runs:
using: 'node20'
main: 'dist/index.js'