Skip to content
Snippets Groups Projects
Commit 07516d6b authored by Mikaël Barbero's avatar Mikaël Barbero :dagger:
Browse files

Merge branch 'new-jamstack-preview-fmk' into 'main'

Issue 110: Move to new jamstack preview framework

See merge request eclipsefdn/it/websites/eclipse.org!19
parents 6338e802 83d22342
No related branches found
No related tags found
No related merge requests found
@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 { ...@@ -45,7 +45,13 @@ server {
error_page 404 /404.html; error_page 404 /404.html;
location / { 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/; root /usr/share/nginx/html/;
index index.html index.htm; 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment