File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Author: khromov @ https://github.com/khromov
1+ # Author: khromov @ https://github.com/khromov & vite
22name : Deploy build to GitHub Pages
33
44on :
@@ -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
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ import tailwindcss from '@tailwindcss/vite'
55// https://vite.dev/config/
66export default defineConfig ( {
77 plugins : [ svelte ( ) , tailwindcss ( ) ] ,
8- base : "/portfolio/ " ,
8+ base : "/" ,
99} )
You can’t perform that action at this time.
0 commit comments