Skip to content

Commit 7cbb423

Browse files
committed
fix: override hugo baseURLs perfectly for local embeds vs gh-pages
1 parent 799896b commit 7cbb423

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Build
3030
run: |
3131
cd docs-site
32-
hugo --minify
32+
hugo --minify -b "https://lupppig.github.io/dbackup/"
3333
3434
- name: Deploy
3535
uses: peaceiris/actions-gh-pages@v4

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-web:
99
@echo "Building React UI..."
1010
cd ui && npm install && npm run build
1111
@echo "Building Hugo Docs..."
12-
cd docs-site && hugo
12+
cd docs-site && hugo -b /docs/
1313
@echo "Copying assets to embeddable web directory..."
1414
mkdir -p web/ui web/docs
1515
rm -rf web/ui/* web/docs/*

0 commit comments

Comments
 (0)