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+ name : Deploy Dev Notepad to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Node.js
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : " 20"
20+ cache : " pnpm"
21+
22+ - name : Install dependencies
23+ run : pnpm install
24+
25+ - name : Build static site
26+ run : pnpm run build
27+
28+ - name : Deploy to GitHub Pages
29+ uses : peaceiris/actions-gh-pages@v4
30+ with :
31+ github_token : ${{ secrets.GITHUB_TOKEN }}
32+ publish_dir : .output/public
33+ publish_branch : gh-pages
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import tailwindcss from "@tailwindcss/vite";
33export default defineNuxtConfig ( {
44 compatibilityDate : "2025-07-15" ,
55 devtools : { enabled : false } ,
6+ ssr : false ,
7+ nitro : { preset : "static" } ,
68 app : { baseURL : "/devnotepad/" } ,
79 modules : [
810 "@nuxt/icon" ,
You can’t perform that action at this time.
0 commit comments