Skip to content

Commit 93a3a6d

Browse files
chore: configure Netlify and switch baseURL to kai-scheduler.dev (#1)
Signed-off-by: EkinKarabulut <ekarabulut@nvidia.com>
1 parent f529ea2 commit 93a3a6d

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# KAI Scheduler Website
22

3-
Source for the [KAI Scheduler](https://github.com/kai-scheduler/KAI-Scheduler) website at **https://kai-scheduler.github.io/website/**.
3+
Source for the [KAI Scheduler](https://github.com/kai-scheduler/KAI-Scheduler) website at **https://kai-scheduler.dev/**.
44

55
The site is built with [Hugo](https://gohugo.io/) (extended) and the [Docsy](https://www.docsy.dev/) theme, pulled in as a Hugo module.
66

hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL: https://kai-scheduler.github.io/website/
1+
baseURL: https://kai-scheduler.dev/
22
title: KAI Scheduler
33
contentDir: content/en
44
defaultContentLanguage: en

netlify.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[build]
2+
publish = "public"
3+
command = "hugo --gc --minify"
4+
5+
[build.environment]
6+
HUGO_VERSION = "0.150.0"
7+
GO_VERSION = "1.24"
8+
NODE_VERSION = "20"
9+
10+
[context.deploy-preview]
11+
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
12+
13+
[context.branch-deploy]
14+
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"

0 commit comments

Comments
 (0)