1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/scripts/test-infra/build-gh-pages.sh

12 lines
342 B
Bash
Raw Normal View History

#!/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
JEKYLL_ENV=production make site-build