File tree Expand file tree Collapse file tree 2 files changed +42
-2
lines changed
Expand file tree Collapse file tree 2 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ jobs :
8+ build-and-deploy :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+
14+ - name : Setup Node.js
15+ uses : actions/setup-node@v4
16+ with :
17+ node-version : ' 18'
18+ cache : ' pnpm' # pnpm için cache ayarını güncelle
19+
20+ - name : Install pnpm
21+ run : npm install -g pnpm # pnpm'u global olarak kur
22+
23+ - name : Install Dependencies
24+ run : pnpm install # npm ci yerine pnpm install
25+
26+ - name : Build
27+ run : pnpm build # npm run build yerine pnpm build
28+
29+ - name : Add .nojekyll
30+ run : touch out/.nojekyll # Jekyll’i devre dışı bırak
31+
32+ - name : Deploy
33+ uses : JamesIves/github-pages-deploy-action@v4
34+ with :
35+ branch : gh-pages
36+ folder : out
Original file line number Diff line number Diff line change 11const nextConfig = {
2- output : "export" ,
2+ output : 'export' ,
3+ basePath : '/keyx-navigation-menu-boilerplate' ,
4+ images : {
5+ unoptimized : true ,
6+ } ,
37} ;
48
5- export default nextConfig ;
9+ export default nextConfig ;
You can’t perform that action at this time.
0 commit comments