Skip to content

Commit d4ae59b

Browse files
authored
Merge pull request #2 from ethmarks/vite
Add vite
2 parents 25f9cf7 + 20ab10b commit d4ae59b

8 files changed

Lines changed: 1128 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: true
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
environment:
22+
name: thessa
23+
url: ${{ steps.deploy_to_pages.outputs.github_pages_url }}
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v5
27+
- name: Vite GitHub Pages Deployer
28+
uses: skywarth/vite-github-pages-deployer@v1.5.0
29+
id: deploy_to_pages

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.nojekyll

Lines changed: 0 additions & 1 deletion
This file was deleted.

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Thessa - AI Thesaurus</title>
7-
<link rel="icon" href="favicon.ico"
7+
<link rel="icon" href="/favicon.ico">
88
<link href="https://fonts.googleapis.com/css2?family=Sen:wght@400;700&display=swap" rel="stylesheet">
99
<link rel="stylesheet" href="https://ethmarks.github.io/css/global.min.css">
1010
<link rel="stylesheet" href="style.css">
11-
<script src="script.js" defer></script>
11+
<script src="script.js" type="module" defer></script>
1212
<script src="https://ethmarks.github.io/js/ethmarks-components.js" defer></script>
1313
</head>
1414
<body>

0 commit comments

Comments
 (0)