add environment specific content

master
B Kleinen 3 years ago
parent 94a0c59abf
commit decb3c37fe

@ -22,7 +22,7 @@ jobs:
extended: true extended: true
- name: Build - name: Build
run: hugo --minify --baseURL=https://seuh2022.github.io/seuh2022-website/ run: hugo --minify -e staging
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3

@ -1,4 +1,4 @@
baseURL = "www.seuh.org/seuh2022" baseURL = "https://www.seuh.org/seuh2022/"
languageCode = "de-de" languageCode = "de-de"
title = "SEUH 2022" title = "SEUH 2022"
theme = "hugo-hero-theme" theme = "hugo-hero-theme"

@ -0,0 +1 @@
baseURL = "file:///Users/kleinen/mine/current/htw/seuh/website/seuh2022-website"

@ -0,0 +1,7 @@
baseURL = "https://seuh2022.github.io/seuh2022-website/"
title = "STAGING --- SEUH 2022"
[params]
printEnvironment=true
environment="staging"
productionSite="https://www.seuh.org/seuh2022/"

@ -4,3 +4,13 @@ push:
hugo: hugo:
open http://localhost:1313/seuh2022 open http://localhost:1313/seuh2022
hugo -D -p 1313 server hugo -D -p 1313 server
github:
open http://localhost:1414/seuh2022-website
hugo --baseURL=http://localhost:1414/seuh2022-website/ -p 1414 -e staging server
stuttgart:
open http://localhost:1515/seuh2022/
hugo --baseURL=http://localhost:1515/seuh2022/ -p 1515 -e production server
build_production:
hugo --minify
build_staging:
hugo --minify -e staging

@ -1 +1 @@
Subproject commit f6b0e4a21baf60aa47bd1e43cc79e7ad4c532c6e Subproject commit 3d8b6c05ef11b92e97cac6893ae6a72396aaab1a
Loading…
Cancel
Save