Skip to content

Commit 0c82948

Browse files
committed
fix: ghp deploy workflow?? maybe??
1 parent c104415 commit 0c82948

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Author: khromov @ https://github.com/khromov
1+
# Author: khromov @ https://github.com/khromov & vite
22
name: Deploy build to GitHub Pages
33

44
on:
@@ -25,22 +25,23 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929
- name: Setup Pages
3030
uses: actions/configure-pages@v5
3131
- name: Use Node.js
32-
uses: actions/setup-node@v2
32+
uses: actions/setup-node@v6
3333
with:
34-
node-version: 24
34+
node-version: lts/*
35+
cache: 'npm'
3536
- name: Install dependencies
3637
run: npm ci
3738
- name: Build the code
3839
run: npm run build
3940
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v3
41+
uses: actions/upload-pages-artifact@v4
4142
with:
4243
# Upload entire repository
43-
path: 'dist'
44+
path: './dist'
4445
- name: Deploy to GitHub Pages
4546
id: deployment
4647
uses: actions/deploy-pages@v4

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import tailwindcss from '@tailwindcss/vite'
55
// https://vite.dev/config/
66
export default defineConfig({
77
plugins: [svelte(), tailwindcss()],
8-
base: "/portfolio/",
8+
base: "/",
99
})

0 commit comments

Comments
 (0)