Skip to content
Snippets Groups Projects
Commit f159d278 authored by Christopher Guindon's avatar Christopher Guindon
Browse files

Migrate EF websites to our new preview framework

parent 3b4e0bbb
No related branches found
No related tags found
No related merge requests found
@Library('common-shared') _
@Library('releng-pipeline') _
hugoWebsitePipeline appname: 'openmobility.eclipse.org'
hugo (
appName: 'openmobility.eclipse.org',
productionDomain: 'openmobility.eclipse.org',
)
local deployment = import "../../releng/hugo-websites/kube-deployment.jsonnet";
deployment.newProductionDeploymentWithStaging(
"openmobility.eclipse.org", "openmobility-staging.eclipse.org"
)
\ No newline at end of file
[build]
publish = "public"
command = "npm run build_netlify && hugo --gc --minify -b https://eclipsefdn-openmobility.netlify.com"
[build.environment]
NODE_VERSION = "12.18.3"
[context.production.environment]
HUGO_VERSION = "0.76.5"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "npm run build_netlify && hugo --gc --minify --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.76.5"
HUGO_ENV = "production"
[context.deploy-preview]
command = "npm run build_netlify && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.76.5"
[context.branch-deploy]
command = "npm run build_netlify && hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.76.5"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
......@@ -17,8 +17,6 @@
"watch": "NODE_ENV=development webpack --watch --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"production": "NODE_ENV=production webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
"disallow_robots_txt": "echo \"User-agent: *\r\nDisallow: /\" > layouts/robots.txt",
"build_netlify": "NODE_ENV=production npm run disallow_robots_txt && npm run production",
"postinstall": "NODE_ENV=production npm run production"
},
"readmeFilename": "README.md",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment