fix: use the right variable for mkdocs port options
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Glenn Y. Rolland 2024-02-14 14:34:29 +01:00
parent 81b845fc66
commit b588503b79

View file

@ -150,7 +150,7 @@ module DocMachine::Build
docker_opt_mkdocs_port = ["-p", "#{mkdocs_port}:5100"] docker_opt_mkdocs_port = ["-p", "#{mkdocs_port}:5100"]
docker_opts.concat docker_opt_mkdocs_port docker_opts.concat docker_opt_mkdocs_port
Log.notice { "Using port #{mkdocs_port} for docs" } Log.notice { "Using port #{mkdocs_port} for docs" }
Log.info { "Docs: Adding option to command line (#{docker_opt_marp_port})" } Log.info { "Docs: Adding option to command line (#{docker_opt_mkdocs_port})" }
else else
Log.info { "Docs: no docs detected." } Log.info { "Docs: no docs detected." }
end end