Skip to content

Commit a681181

Browse files
committed
Use a different base URL for github pages
I'm currently using a subfolder of my default github pages URL
1 parent 30a4b1f commit a681181

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
5555
HUGO_ENVIRONMENT: production
5656
run: |
57-
hugo --minify
57+
hugo --environment pages --minify
5858
- name: Upload artifact
5959
uses: actions/upload-pages-artifact@v3
6060
with:

config/pages/hugo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
baseURL = "/tpf-hugo/"

0 commit comments

Comments
 (0)