Update makefile

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
This commit is contained in:
Ian Maddaus 2022-03-11 15:47:44 -05:00
parent e157eead42
commit bd22801208

View file

@ -3,8 +3,10 @@
SHELL=bash
preview_netlify: chef_web_docs
cp -R content/* chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/content
cp -R static/* chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/static
rm -rf chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/*
cp -R content chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/
cp -R static chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/
cp -R layouts chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/
cp -R config.toml chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/
pushd chef-web-docs && make bundle; hugo --gc --minify --buildFuture && popd