Skip to content

Commit

Permalink
try different gh-pages-action
Browse files Browse the repository at this point in the history
  • Loading branch information
seigler committed Apr 7, 2024
1 parent d001d2d commit 7494036
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ jobs:
run: npm install
- name: Build
run: npm run build ./dist
- name: Vite Github Pages Deployer
uses: skywarth/vite-github-pages[email protected]
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
id: deploy_to_pages
with:
build_path: ./dist
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
10 changes: 6 additions & 4 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ const fontNames = Object.keys(fonts);

const selectedFont = signal("AurebeshAF-Legends");
effect(() => {
document.documentElement.style.setProperty(
"--font-aurebesh",
selectedFont.value
);
if (typeof window !== "undefined") {
document.documentElement.style.setProperty(
"--font-aurebesh",
selectedFont.value
);
}
});
const ligatures = computed(() => {
return fonts[selectedFont.value].ligatures;
Expand Down

0 comments on commit 7494036

Please sign in to comment.