Skip to content

Commit

Permalink
release: v0.56.2 (#5)
Browse files Browse the repository at this point in the history
* change: install from binary

* update: tag on readme

* add: move hugo binary under GOPATH

* upgrade: hugo to v0.56.2
  • Loading branch information
peaceiris authored Jul 30, 2019
1 parent 09ca291 commit f7fd45c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ LABEL "repository"="https://github.com/peaceiris/actions-hugo"
LABEL "homepage"="https://github.com/peaceiris/actions-hugo"
LABEL "maintainer"="peaceiris"

ENV HUGO_VERSION='0.56.1'
ENV HUGO_URL='https://github.com/gohugoio/hugo.git'

RUN git clone ${HUGO_URL} -b v${HUGO_VERSION} --depth 1 /hugo && \
cd /hugo && \
go install --tags extended
ENV HUGO_VERSION='0.56.2'
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"
RUN wget "${HUGO_URL}" && \
tar -zxvf "${HUGO_NAME}.tar.gz" && \
mv ./hugo /go/bin/

ENTRYPOINT [ "/go/bin/hugo" ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ action "is-branch-master" {
action "build" {
needs = "is-branch-master"
uses = "peaceiris/[email protected].1"
uses = "peaceiris/[email protected].2"
args = ["--gc", "--minify", "--cleanDestinationDir"]
}
Expand Down

0 comments on commit f7fd45c

Please sign in to comment.