Compare commits

...

3 Commits

Author SHA1 Message Date
Shohei Ueda
b101526f7f upgrade: hugo to v0.56.3 (#6) 2019-07-31 22:23:35 +09:00
Shohei Ueda
f7fd45cb9e release: v0.56.2 (#5)
* change: install from binary

* update: tag on readme

* add: move hugo binary under GOPATH

* upgrade: hugo to v0.56.2
2019-07-30 19:43:01 +09:00
Shohei Ueda
09ca2911f5 v0.56.1 (#4)
* upgrade: hugo to v0.56.1

* update: readme for v0.56.1
2019-07-29 08:27:02 +09:00
2 changed files with 7 additions and 7 deletions

View File

@@ -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.0'
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.3'
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" ]

View File

@@ -36,7 +36,7 @@ action "is-branch-master" {
action "build" {
needs = "is-branch-master"
uses = "peaceiris/actions-hugo@v0.56.0-mod"
uses = "peaceiris/actions-hugo@v0.56.3"
args = ["--gc", "--minify", "--cleanDestinationDir"]
}