forked from nilbuild/github-pages-blog-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
29 lines (25 loc) · 992 Bytes
/
Copy pathaction.yml
File metadata and controls
29 lines (25 loc) · 992 Bytes
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: 'Create Blog from Markdown Files'
description: 'This action allows you to create a blog from your markdown files and deploy to GitHub pages'
author: 'Kamran Ahmed <kamranahmed.se@gmail.com>'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'git-commit'
color: 'orange'
inputs:
token:
description: >
This option defaults to the repository scoped GitHub Token.
However if you need more permissions for things such as deploying to another
repository, you can add a Personal Access Token (PAT) here. This should be
stored in the `secrets / with` menu **as a secret**.
required: false
default: ${{ github.token }}
branch:
description: 'This is the branch you wish to deploy to, for example gh-pages or docs.'
required: false
default: 'gh-pages'
outputs:
deployment-status:
description: 'The status of the deployment that indicates if the run failed or passed. Possible outputs include: success|failed|skipped'