Skip to content

Commit b8a6e0e

Browse files
author
Kazuyoshi Kato
committed
Add containerd's docs directory
Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 0f5b72b commit b8a6e0e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,16 @@ serve:
2121
--buildFuture \
2222
--disableFastRender
2323

24-
production-build:
24+
public/docs/latest:
25+
rm -fr containerd # seems Netlify is caching this directory.
26+
git clone --depth 1 https://github.com/containerd/containerd.git containerd
27+
mv containerd/docs content/docs/latest
28+
29+
production-build: public/docs/latest
2530
hugo \
2631
--minify
2732

28-
preview-build:
33+
preview-build: public/docs/latest
2934
hugo \
3035
--baseURL $(DEPLOY_PRIME_URL) \
3136
--buildDrafts \

0 commit comments

Comments
 (0)