mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2025-05-04 14:25:30 +08:00
parent
105e2e8ee3
commit
09ca2911f5
@ -9,7 +9,7 @@ LABEL "repository"="https://github.com/peaceiris/actions-hugo"
|
|||||||
LABEL "homepage"="https://github.com/peaceiris/actions-hugo"
|
LABEL "homepage"="https://github.com/peaceiris/actions-hugo"
|
||||||
LABEL "maintainer"="peaceiris"
|
LABEL "maintainer"="peaceiris"
|
||||||
|
|
||||||
ENV HUGO_VERSION='0.56.0'
|
ENV HUGO_VERSION='0.56.1'
|
||||||
ENV HUGO_URL='https://github.com/gohugoio/hugo.git'
|
ENV HUGO_URL='https://github.com/gohugoio/hugo.git'
|
||||||
|
|
||||||
RUN git clone ${HUGO_URL} -b v${HUGO_VERSION} --depth 1 /hugo && \
|
RUN git clone ${HUGO_URL} -b v${HUGO_VERSION} --depth 1 /hugo && \
|
||||||
|
@ -36,7 +36,7 @@ action "is-branch-master" {
|
|||||||
|
|
||||||
action "build" {
|
action "build" {
|
||||||
needs = "is-branch-master"
|
needs = "is-branch-master"
|
||||||
uses = "peaceiris/actions-hugo@v0.56.0-mod"
|
uses = "peaceiris/actions-hugo@v0.56.1"
|
||||||
args = ["--gc", "--minify", "--cleanDestinationDir"]
|
args = ["--gc", "--minify", "--cleanDestinationDir"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user