From 15cbeaf6fc7056e71325794fbef83a8a1f174a2f Mon Sep 17 00:00:00 2001 From: Christopher Guindon Date: Mon, 3 Oct 2022 15:11:11 -0400 Subject: [PATCH] Migrate EF websites to our new preview framework Related to https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1978 --- Jenkinsfile | 6 ++++++ netlify.toml | 33 --------------------------------- package.json | 1 - 3 files changed, 6 insertions(+), 34 deletions(-) create mode 100644 Jenkinsfile delete mode 100644 netlify.toml diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..46fc940 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,6 @@ +@Library('releng-pipeline') _ + +hugo ( + appName: 'opensourceinnovation.eu', + productionDomain: 'opensourceinnovation.eu', +) diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index 7168be4..0000000 --- a/netlify.toml +++ /dev/null @@ -1,33 +0,0 @@ -[build] -publish = "public" -command = "yarn run build_netlify && hugo --gc --minify" - -[build.environment] -NODE_VERSION = "12.18.3" - -[context.production.environment] -HUGO_VERSION = "0.76.5" -HUGO_ENV = "production" -HUGO_ENABLEGITINFO = "true" - -[context.split1] -command = "yarn run build_netlify && hugo --gc --minify --enableGitInfo" - -[context.split1.environment] -HUGO_VERSION = "0.76.5" -HUGO_ENV = "production" - -[context.deploy-preview] -command = "yarn run build_netlify && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" - -[context.deploy-preview.environment] -HUGO_VERSION = "0.76.5" - -[context.branch-deploy] -command = "yarn 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" diff --git a/package.json b/package.json index af28891..621bdbf 100644 --- a/package.json +++ b/package.json @@ -17,7 +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", - "build_netlify": "NODE_ENV=production npm run production", "postinstall": "NODE_ENV=production npm run production" }, "dependencies": { -- GitLab