Skip to content

Commit 17f5eab

Browse files
committed
Adjust Netlify settings to get site to build.
1 parent 921cc56 commit 17f5eab

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ rm -rf .git/worktrees/docs/
3030

3131
echo "Generating site"
3232
hugo
33-
echo "elekto.io"> docs/CNAME
33+
echo "elekto.dev"> docs/CNAME
3434

3535
echo "Updating gh-pages branch"
3636
git add docs && git commit -m "Publishing to github (deploy.sh)"
3737

3838
echo "Pushing to github"
39-
git push --all
39+
git push --all

netlify.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# Hugo build configuration for Netlify
2-
# (https://gohugo.io/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify)
32

43
# Default build settings
54
[build]
6-
publish = "userguide/public"
7-
command = "git submodule update -f --init && cd userguide && npm install postcss-cli && hugo --themesDir ../.."
5+
command = "cd themes/docsy && git submodule update -f --init && cd ../.. && hugo"
86

97
# "production" environment specific build settings
108
[build.environment]
11-
HUGO_VERSION = "0.76.5"
12-
HUGO_THEME = "repo"
9+
HUGO_BASEURL = "https://elekto.dev"
10+
HUGO_VERSION = "0.82.0"
1311
HUGO_ENV = "production"

0 commit comments

Comments
 (0)