diff --git a/.github/workflows/update-demo-page.yml b/.github/workflows/update-demo-page.yml index f9dbe6618..d63d2913f 100644 --- a/.github/workflows/update-demo-page.yml +++ b/.github/workflows/update-demo-page.yml @@ -55,7 +55,11 @@ jobs: - name: Build working-directory: /tmp/demo-site - run: hugo && > public/.nojekyll + run: | + rm -rf themes/bilberry-hugo-theme + hugo && > public/.nojekyll + sed -i "s~webfonts~bilberry-hugo-theme/webfonts~g" public/theme.css + sed -i "s~/fonts~/bilberry-hugo-theme/fonts~g" public/theme.css - name: Deploy to GitHub Pages if: success()