Skip to content

Commit f944e3a

Browse files
committed
Chore: define BASEURL variable for consistent site URL usage in Makefile
Signed-off-by: hortison <[email protected]>
1 parent 7264450 commit f944e3a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/build/Makefile.core.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ PORT:=1313
6060
# Build
6161
#-----------------------------------------------------------------------------
6262
RELEASE_CHANNEL="edge"
63+
BASEURL:="https://layer5io.github.io/exoscale-academy"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ build:
3232

3333
## Build site for local consumption
3434
build-preview:
35-
hugo --baseURL=https://layer5io.github.io/exoscale-academy
35+
hugo --baseURL=$(BASEURL)
3636

3737
## Empty build cache and run on your local machine.
3838
clean:

0 commit comments

Comments
 (0)