Skip to content

Commit

Permalink
netlify error fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Rajesh Paul <rajesh.paul@progress.com>
  • Loading branch information
RajeshPaul38 committed Apr 5, 2022
1 parent e742cd7 commit f24ae79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs-chef-io/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SHELL=bash
preview_netlify: chef_web_docs
cp -R content/* chef-web-docs/_vendor/github.com/chef/supermarket/docs-chef-io/content
cp -R config.toml chef-web-docs/_vendor/github.com/chef/supermarket/docs-chef-io/config.toml
pushd chef-web-docs && make assets; hugo --buildFuture --gc --minify && popd
pushd chef-web-docs && make assets; hugo --gc --minify --enableGitInfo --buildFuture && popd

serve: chef_web_docs
echo "replace github.com/chef/supermarket/docs-chef-io => ../" >> chef-web-docs/go.mod
Expand Down
2 changes: 1 addition & 1 deletion docs-chef-io/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

[context.deploy-preview]
publish = "chef-web-docs/public"
command = "make bundle; hugo --gc --minify --enableGitInfo --buildFuture"
command = "make preview_netlify"

[context.production]
publish = "netlify_production"
Expand Down

0 comments on commit f24ae79

Please sign in to comment.