From 13df60eaa4ded95521c50ae5fa0e8060ea91cc9e Mon Sep 17 00:00:00 2001 From: Christopher Guindon Date: Mon, 3 Oct 2022 14:46:38 -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 | 3 +-- 3 files changed, 7 insertions(+), 35 deletions(-) create mode 100644 Jenkinsfile delete mode 100644 netlify.toml diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..4707b80 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,6 @@ +@Library('releng-pipeline') _ + +hugo ( + appName: 'entrepreneurialopensource.org', + productionDomain: 'entrepreneurialopensource.org', +) diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index 38f78cd..0000000 --- a/netlify.toml +++ /dev/null @@ -1,33 +0,0 @@ -[build] -publish = "public" -command = "yarn run build_netlify && hugo --gc --minify -b https://entrepreneurialopensource.org" - -[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 7113e1a..4e5149f 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,7 @@ "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", - "postinstall": "NODE_ENV=production npm run production", - "build_netlify": "NODE_ENV=production npm run production" + "postinstall": "NODE_ENV=production npm run production" }, "dependencies": { "core-js": "^3.8.2", -- GitLab