mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
scripts: fix gh-pages build failure in prow
Work around stupid uid/gid magic that happens inside the jekyll docker image.
This commit is contained in:
parent
c793796ba5
commit
ad0db00a50
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
# Pre-create output directory with all write access. The Jekyll docker image is
|
||||
# stupid enough to do all sorts of uid/gid/chown magic making build fail for
|
||||
# root user. In prow we run as root because of DIND.
|
||||
_outdir="docs/_site"
|
||||
mkdir -p "$_outdir"
|
||||
chmod a+rwx "$_outdir"
|
||||
|
||||
# Build docs
|
||||
make site-build
|
||||
|
|
Loading…
Reference in a new issue