Skip to content

Commit df9ef76

Browse files
authored
Update hugo.yml
1 parent 4c132fa commit df9ef76

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ jobs:
5454
hugo \
5555
--gc \
5656
--minify \
57-
--baseURL "https://bibbox.github.io/bibbox-website/"
57+
--baseURL "${{ steps.pages.outputs.base_url }}/bibbox-website/"
58+
5859
- name: Rewrite Paths
59-
run: |
60-
find public/ -name '*.html' -exec sed -i 's|src="/|src="/bibbox-website/|g' {} +
61-
find public/ -name '*.html' -exec sed -i 's|href="/|href="/bibbox-website/|g' {} +
60+
run: |
61+
find public/ -name '*.html' -exec sed -i 's|src="/|src="/bibbox-website/|g' {} +
62+
find public/ -name '*.html' -exec sed -i 's|href="/|href="/bibbox-website/|g' {} +
6263
6364
- name: Upload artifact
6465
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)