Skip to content

Commit

Permalink
Update hugo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jungwire authored Jan 22, 2025
1 parent aedc247 commit 43ad843
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,17 @@ jobs:
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/bibbox-website/"
- name: Rewrite Paths
run: |
find public/ -name '*.html' -exec sed -i 's|src="/|src="/bibbox-website/|g' {} +
find public/ -name '*.html' -exec sed -i 's|href="/|href="/bibbox-website/|g' {} +
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public



# Deployment job
deploy:
Expand Down

0 comments on commit 43ad843

Please sign in to comment.