Include resume in build

This commit is contained in:
Danila Fedorin 2023-12-30 23:09:44 +00:00
parent df95db0f2d
commit 782c9ed45a

View File

@ -10,12 +10,15 @@ mkdir -p static && chmod -R u+w static
# We host some static files (KaTeX CSS in production) on # We host some static files (KaTeX CSS in production) on
# static.danilafe.com. However, we can just bundle them here instead! # static.danilafe.com. However, we can just bundle them here instead!
# Also, since we're generating and adding a resume further down, add it to
# the configuration here as well.
echo '[params]' >> config-urls.toml echo '[params]' >> config-urls.toml
echo 'katexCssUrl = "/katex/katex.min.css"' >> config-urls.toml echo 'katexCssUrl = "/katex/katex.min.css"' >> config-urls.toml
echo 'normalizeCssUrl = "/normalize/normalize.css"' >> config-urls.toml echo 'normalizeCssUrl = "/normalize/normalize.css"' >> config-urls.toml
echo 'visNetworkJsUrl = "/vis-network/vis-network.min.js"' >> config-urls.toml echo 'visNetworkJsUrl = "/vis-network/vis-network.min.js"' >> config-urls.toml
echo 'bergamotJsUrl = "/bergamot/bergamot.js"' >> config-urls.toml echo 'bergamotJsUrl = "/bergamot/bergamot.js"' >> config-urls.toml
echo 'katexExpressionJsUrl = "/katex-expression/katex-expression.esm.js"' >> config-urls.toml echo 'katexExpressionJsUrl = "/katex-expression/katex-expression.esm.js"' >> config-urls.toml
echo 'resumeStaticFile = "/Resume-Danila-Fedorin.pdf"' >> config-urls.toml
cp -r $webFiles/* static/ cp -r $webFiles/* static/