Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lowply committed Feb 24, 2019
0 parents commit e2ead32
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM debian:9-slim

LABEL "com.github.actions.name"="Build Hugo"
LABEL "com.github.actions.description"="Build Hugo"
LABEL "com.github.actions.icon"="code"
LABEL "com.github.actions.color"="purple"
LABEL "repository"="https://github.com/lowply/action-hugo"
LABEL "homepage"="https://github.com/lowply"
LABEL "maintainer"="Sho Mizutani <[email protected]>"

ADD https://github.com/gohugoio/hugo/releases/download/v0.54.0/hugo_extended_0.54.0_Linux-64bit.deb /usr/local/src
RUN dpkg -i /usr/local/src/hugo_extended_0.54.0_Linux-64bit.deb
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# A GitHub Action for Hugo

- Using [Hugo extended version 0.54](https://github.com/gohugoio/hugo/releases/tag/v0.54.0)
- Using [debian:9-slim](https://hub.docker.com/_/debian/) for the base image

Example workflow

```
workflow "Build" {
on = "push"
resolves = ["Build Hugo"]
}
action "Build Hugo" {
uses = "lowply/action-hugo@master"
runs = "hugo"
}
```

0 comments on commit e2ead32

Please sign in to comment.