Skip to content

Commit

Permalink
🚀 deploy docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matyo91 committed Aug 23, 2024
1 parent 1e385bf commit 5654875
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ",
Expand Down Expand Up @@ -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"
}
]
}
}
}
10 changes: 10 additions & 0 deletions docs/theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 5654875

Please sign in to comment.