mirror of
https://github.com/seigler/aurebesh
synced 2025-07-27 01:36: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
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build ./dist
|
run: npm run build
|
||||||
- name: Vite Github Pages Deployer
|
- name: Deploy
|
||||||
uses: skywarth/vite-github-pages-deployer@v1.3.0
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
id: deploy_to_pages
|
id: deploy_to_pages
|
||||||
with:
|
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");
|
const selectedFont = signal("AurebeshAF-Legends");
|
||||||
effect(() => {
|
effect(() => {
|
||||||
|
if (typeof window !== "undefined") {
|
||||||
document.documentElement.style.setProperty(
|
document.documentElement.style.setProperty(
|
||||||
"--font-aurebesh",
|
"--font-aurebesh",
|
||||||
selectedFont.value
|
selectedFont.value
|
||||||
);
|
);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
const ligatures = computed(() => {
|
const ligatures = computed(() => {
|
||||||
return fonts[selectedFont.value].ligatures;
|
return fonts[selectedFont.value].ligatures;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue