Commit 83d22342 authored by Mikaël Barbero's avatar Mikaël Barbero 🗡
Browse files

Issue 110: Move to new jamstack preview framework

parent 6338e802
Pipeline #3957 passed with stage
in 0 seconds
@Library('common-shared') _
@Library('releng-pipeline') _
hugoWebsitePipeline appname: 'www.eclipse.org'
hugo (
appName: 'www.eclipse.org',
productionDomain: 'www.eclipse.org',
nginxServerConf: 'config/nginx/default.conf'
)
......@@ -45,7 +45,13 @@ server {
error_page 404 /404.html;
location / {
include conf.d/default.redirects;
# www.eclipse.org/home
# https://git.eclipse.org/c/www.eclipse.org/home.git/tree/
rewrite /home/search.php /home/search redirect;
rewrite /home/newcomers.php /home/newcomers redirect;
rewrite /home/welcome.php /home/welcome redirect;
rewrite /home/whatis.php /home/whatis redirect;
root /usr/share/nginx/html/;
index index.html index.htm;
}
......
# www.eclipse.org/home
# https://git.eclipse.org/c/www.eclipse.org/home.git/tree/
rewrite /home/search.php /home/search redirect;
rewrite /home/newcomers.php /home/newcomers redirect;
rewrite /home/welcome.php /home/welcome redirect;
rewrite /home/whatis.php /home/whatis redirect;
\ No newline at end of file
local deployment = import "../../releng/hugo-websites/kube-deployment.jsonnet";
deployment.newProductionDeploymentWithStaging(
"www.eclipse.org", "staging.eclipse.org"
)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment