add-hugo-build #5
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ ADD resources /tmp
|
|||
|
||||
ENV BUILDDIR="/etc/website"
|
||||
ENV SOURCEDIR="/etc/websitesource"
|
||||
ENV WEBSITE_ROOT="/var/www/html/website/"
|
||||
ENV WEBSITEROOT="/var/www/html/website/"
|
||||
ENV HASHFILEDIR="/var/hashfile.d"
|
||||
|
||||
RUN /tmp/install.sh
|
||||
|
|
|
@ -25,5 +25,5 @@ function build-website() {
|
|||
}
|
||||
|
||||
function move-website-files-to-target() {
|
||||
(cd $BUILDDIR; dir=$(ls); cd $dir; rsync -ru --exclude-from "/etc/exclude.pattern" --delete target/html/* $WEBSITE_ROOT;)
|
||||
(cd $BUILDDIR; dir=$(ls); cd $dir; rsync -ru --exclude-from "/etc/exclude.pattern" --delete target/html/* $WEBSITEROOT;)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue