mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 13:08:11 +00:00
Use the current hostname for baseUrl
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ COPY .git .git
|
||||
ADD https://github.com/rancherlabs/website-theme/archive/master.tar.gz /run/master.tar.gz
|
||||
RUN mkdir -p /output /theme/rancher-website-theme && tar -xzf /run/master.tar.gz -C /run/node_modules/rancher-website-theme --strip=1 && rm /run/master.tar.gz
|
||||
|
||||
RUN ["hugo", "--buildDrafts", "--buildFuture", "--baseURL=https://staging.rancher.com/docs", "--destination=/output"]
|
||||
RUN ["hugo", "--buildDrafts", "--buildFuture", "--destination=/output"]
|
||||
|
||||
# Make sure something got built
|
||||
RUN stat /output/index.html
|
||||
|
||||
Reference in New Issue
Block a user