-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
action.yml
43 lines (34 loc) · 1009 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
38
39
40
41
42
43
name: 'Hugo to GH Pages'
author: 'chabad360'
description: 'GitHub Action for Building a Hugo Site and Pushing it to Github Pages'
inputs:
githubToken:
description: 'A Github Personal Access Token with Repo permissions'
required: true
cname:
description: 'The custom domain name for your GH Pages Site'
required: false
branch:
description: 'The branch to push the built site to'
required: false
default: 'gh-pages'
repo:
description: 'The repo to push the built site to'
required: false
hugoVersion:
description: 'The version of hugo to use'
required: false
args:
description: 'Arguments to pass to Hugo'
required: false
default: --gc --minify --cleanDestinationDir
siteDir:
description: "Directory for Hugo Site (if it's not the root of the repo)"
required: false
runs:
using: 'docker'
image: 'docker://ghcr.io/chabad360/hugo-gh-pages'
# image: 'Dockerfile'
branding:
icon: 'upload-cloud'
color: 'red'