mirror of
https://github.com/kerberos-io/documentation.git
synced 2026-08-23 15:18:31 +00:00
config: fix production config files (split into root sections)
This commit is contained in:
2
.github/workflows/gh-pages.yml
vendored
2
.github/workflows/gh-pages.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
||||
npm install # reads info from package.js
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify --config _default/config.toml,_default/menus.toml,_default/params.toml,production/config.toml
|
||||
run: hugo --minify --environment production # uses default config/_default/* files + merges with config/production ones
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
||||
@@ -2,6 +2,3 @@ baseurl = "https://doc.kerberos.io/"
|
||||
canonifyURLs = true
|
||||
docsRepo = "https://github.com/kerberos-io/documentation"
|
||||
editPage = true
|
||||
|
||||
[params]
|
||||
env = "production"
|
||||
|
||||
1
config/production/params.toml
Normal file
1
config/production/params.toml
Normal file
@@ -0,0 +1 @@
|
||||
env = "production"
|
||||
Reference in New Issue
Block a user