diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index da24264..9e8cd9e 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -22,7 +22,7 @@ jobs: extended: true - name: Build - run: hugo --minify --baseURL=https://seuh2022.github.io/seuh2022-website/ + run: hugo --minify -e staging - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/config.toml b/config/_default/config.toml similarity index 95% rename from config.toml rename to config/_default/config.toml index c0763ce..191a787 100644 --- a/config.toml +++ b/config/_default/config.toml @@ -1,4 +1,4 @@ -baseURL = "www.seuh.org/seuh2022" +baseURL = "https://www.seuh.org/seuh2022/" languageCode = "de-de" title = "SEUH 2022" theme = "hugo-hero-theme" diff --git a/config/local/config.toml b/config/local/config.toml new file mode 100644 index 0000000..9252800 --- /dev/null +++ b/config/local/config.toml @@ -0,0 +1 @@ +baseURL = "file:///Users/kleinen/mine/current/htw/seuh/website/seuh2022-website" diff --git a/config/staging/config.toml b/config/staging/config.toml new file mode 100644 index 0000000..e938b8b --- /dev/null +++ b/config/staging/config.toml @@ -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/" diff --git a/makefile b/makefile index 1ec89a9..906b79a 100644 --- a/makefile +++ b/makefile @@ -4,3 +4,13 @@ push: hugo: open http://localhost:1313/seuh2022 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 diff --git a/themes/hugo-hero-theme b/themes/hugo-hero-theme index f6b0e4a..3d8b6c0 160000 --- a/themes/hugo-hero-theme +++ b/themes/hugo-hero-theme @@ -1 +1 @@ -Subproject commit f6b0e4a21baf60aa47bd1e43cc79e7ad4c532c6e +Subproject commit 3d8b6c05ef11b92e97cac6893ae6a72396aaab1a