mirror of
https://github.com/seigler/aurebesh
synced 2025-07-26 01:06:12 +00:00
try different gh-pages-action
This commit is contained in:
parent
d001d2deee
commit
2e34bc1be0
2 changed files with 11 additions and 8 deletions
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
|
@ -35,9 +35,10 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: npm install
|
||||
- name: Build
|
||||
run: npm run build ./dist
|
||||
- name: Vite Github Pages Deployer
|
||||
uses: skywarth/vite-github-pages-deployer@v1.3.0
|
||||
run: npm run build
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
id: deploy_to_pages
|
||||
with:
|
||||
build_path: ./dist
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./dist
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue