diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000000000000000000000000000000000..46fc940f8f5ab043910113769c6c0b149bd5a63d --- /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 7168be452e6b14404c2441883bcf6a658de841e1..0000000000000000000000000000000000000000 --- 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 af28891add377a14e3f016a7fd5aa39137739b72..621bdbf139db6439841d91a58eedef7c00a366c7 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": {