Forked from
ogs / ogs
12669 commits behind the upstream repository.
-
Lars Bilke authored
Removed generated js and css files from git repo as generating these is now supported on Netlify during build: https://github.com/netlify/build-image/issues/183 Make sure to install the "extended" version of Hugo when using it locally.
Lars Bilke authoredRemoved generated js and css files from git repo as generating these is now supported on Netlify during build: https://github.com/netlify/build-image/issues/183 Make sure to install the "extended" version of Hugo when using it locally.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
netlify.toml 1.08 KiB
[build]
base = "web"
publish = "web/public"
command = """
git lfs install
git lfs pull
yarn --ignore-engines --ignore-optional --non-interactive
pandoc-citeproc --bib2json ../Documentation/bibliography.bib > data/bibliography.json
hugo
node_modules/.bin/hugo-algolia --toml -s"""
[build.environment] # global variables
HUGO_VERSION = "0.60.1"
GIT_LFS_ENABLED = "true"
[context.production.environment]
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview]
command = """
git lfs install
git lfs pull
yarn --ignore-engines --ignore-optional --non-interactive
pandoc-citeproc --bib2json ../Documentation/bibliography.bib > data/bibliography.json
hugo -b $DEPLOY_PRIME_URL"""
[context.branch-deploy]
command = """
git lfs install
git lfs pull
yarn --ignore-engines --ignore-optional --non-interactive
pandoc-citeproc --bib2json ../Documentation/bibliography.bib > data/bibliography.json
hugo -b $DEPLOY_PRIME_URL"""
[[redirects]]
from = "/papers"
to = "https://www.ufz.de/index.php?en=37204"