-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
40 lines (39 loc) · 1.22 KB
/
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
38
39
40
name: "golb-blogging-platform"
description: "Golb - The statically generated blogging platform"
branding:
color: 'green'
icon: 'book-open'
inputs:
posts_path:
description: "Path to your posts"
required: true
blog_title:
description: "Your blog's title"
required: true
locale:
description: "Your blog's locale"
required: true
default: "en"
post_page_template_path:
description: "Path to your post page template if you want a custom one"
default: "./postPageTemplate.go.html"
home_page_template_path:
description: "Path to your home page template if you want a custom one"
default: "./homePageTemplate.go.html"
dist_path:
description: "Path to your blog's destination"
required: true
default: "/tmp/dist"
global_assets_path:
description: "Path to the assets to add to your blog"
runs:
using: "docker"
image: "Dockerfile"
env:
POSTS_PATH: ${{ inputs.posts_path }}
TITLE: ${{ inputs.blog_title }}
LOCALE: ${{ inputs.locale }}
POST_PAGE_TEMPLATE_PATH: ${{ inputs.post_page_template_path }}
HOME_PAGE_TEMPLATE_PATH: ${{ inputs.home_page_template_path }}
DIST_PATH: ${{ inputs.dist_path }}
GLOBAL_ASSETS_PATH: ${{ inputs.global_assets_path }}