diff --git a/docs/package.json b/docs/package.json index 27e3347..8c91e21 100644 --- a/docs/package.json +++ b/docs/package.json @@ -30,7 +30,7 @@ "prestart": "npm run clean", "start": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender -s src", "prebuild": "npm run clean", - "build": "exec-bin node_modules/.bin/hugo/hugo --gc --minify -s src", + "build": "exec-bin node_modules/.bin/hugo/hugo --gc --minify -s src -b https://flow.darkwood.com", "build:preview": "npm run build -D -F", "clean": "shx rm -rf public resources", "clean:install": "shx rm -rf package-lock.json node_modules ", @@ -77,5 +77,18 @@ }, "otherDependencies": { "hugo": "0.88.1" + }, + "deployment": { + "order": [ + ".jpg$", + ".gif$" + ], + "targets": [ + { + "name": "github", + "URL": "https://github.com/darkwood-com/flow", + "branch": "gh-pages" + } + ] } -} +} \ No newline at end of file diff --git a/docs/theme.toml b/docs/theme.toml index d4899f6..1a59709 100644 --- a/docs/theme.toml +++ b/docs/theme.toml @@ -13,3 +13,13 @@ features = ["security aware", "fast by default", "seo-ready", "development tools [author] name = "Mathieu Ledru" homepage = "https://darkwood.fr" + +baseURL = "https://flow.darkwood.fr" + +[deployment] +order = [".jpg$", ".gif$"] + +[[deployment.targets]] +name = "github" +URL = "https://flow.darkwood.com" +branch = "gh-pages" \ No newline at end of file