add: action.yml

This commit is contained in:
peaceiris 2019-09-06 03:07:42 +09:00
parent dd1c91caf4
commit 26378c050c
3 changed files with 10 additions and 9 deletions

View file

@ -2,4 +2,5 @@
.github
LICENSE
README.md
action.yml
images

View file

@ -1,14 +1,5 @@
FROM golang:1.13.0-buster
LABEL "com.github.actions.name"="Hugo action"
LABEL "com.github.actions.description"="GitHub Actions for Hugo extended and Hugo Modules"
LABEL "com.github.actions.icon"="package"
LABEL "com.github.actions.color"="yellow"
LABEL "repository"="https://github.com/peaceiris/actions-hugo"
LABEL "homepage"="https://github.com/peaceiris/actions-hugo"
LABEL "maintainer"="peaceiris"
ENV HUGO_VERSION='0.58.0'
ENV HUGO_NAME="hugo_extended_${HUGO_VERSION}_Linux-64bit"
ENV HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_NAME}.tar.gz"

9
action.yml Normal file
View file

@ -0,0 +1,9 @@
name: 'Hugo build action'
description: 'GitHub Actions for Hugo extended and Hugo Modules'
author: 'peaceiris'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'package'
color: 'yellow'