Skip to content

Commit 1d31d0b

Browse files
authored
Merge pull request #47 from ArkhamCookie/46-ci-github-pages-not-loading-static-files
46 ci GitHub pages not loading static files
2 parents fd904a7 + 990cb1e commit 1d31d0b

2 files changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,3 @@ jobs:
8282
uses: actions/upload-pages-artifact@v3
8383
with:
8484
path: ./public
85-
86-
# Deployment job
87-
deploy:
88-
environment:
89-
name: github-pages
90-
url: ${{ steps.deployment.outputs.page_url }}
91-
runs-on: ubuntu-latest
92-
needs: build
93-
steps:
94-
- name: Deploy to GitHub Pages
95-
id: deployment
96-
uses: actions/deploy-pages@v4

assets/css/fonts.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
font-family: 'Roboto';
55
font-style: normal;
66
font-weight: 400;
7-
src: url('/fonts/roboto-v47-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.woff2') format('woff2');
7+
src: url('../fonts/roboto-v47-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.woff2') format('woff2');
88
}
99

1010
/* inter-regular - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@@ -13,7 +13,7 @@
1313
font-family: 'Inter';
1414
font-style: normal;
1515
font-weight: 400;
16-
src: url('/fonts/inter-v18-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.woff2') format('woff2');
16+
src: url('../fonts/inter-v18-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.woff2') format('woff2');
1717
}
1818

1919
/* inter-700 - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@@ -22,6 +22,6 @@
2222
font-family: 'Inter';
2323
font-style: normal;
2424
font-weight: 700;
25-
src: url('/fonts/inter-v18-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-700.woff2') format('woff2');
25+
src: url('../fonts/inter-v18-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-700.woff2') format('woff2');
2626
}
2727

0 commit comments

Comments
 (0)