File tree Expand file tree Collapse file tree 3 files changed +44
-2
lines changed Expand file tree Collapse file tree 3 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 1+ concurrency :
2+ group : " pages"
3+ cancel-in-progress : true
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+
11+ - name : Setup Node
12+ uses : actions/setup-node@v4
13+ with :
14+ node-version : " 22"
15+ cache : ' npm'
16+
17+ - name : Install dependencies
18+ run : npm ci
19+
20+ - name : Build with Next.js
21+ run : npm run build
22+
23+ - name : Upload artifact
24+ uses : actions/upload-pages-artifact@v3
25+ with :
26+ path : ./out
27+
28+ deploy :
29+ environment :
30+ name : github-pages
31+ url : ${{ steps.deployment.outputs.page_url }}
32+ runs-on : ubuntu-latest
33+ needs : build
34+ steps :
35+ - name : Deploy to GitHub Pages
36+ id : deployment
37+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11import type { NextConfig } from "next" ;
22
33const nextConfig : NextConfig = {
4- /* config options here */
4+ output : 'export' , // Importante para generar archivos estáticos
5+ basePath : 'https://github.com/visual-ds/seminar-visualds/' , // Reemplaza con el nombre de tu repositorio
6+ images : {
7+ unoptimized : true , // Necesario para exportación estática
8+ }
59} ;
610
711export default nextConfig ;
Original file line number Diff line number Diff line change 66 "dev" : " next dev --turbopack" ,
77 "build" : " next build" ,
88 "start" : " next start" ,
9- "lint" : " next lint"
9+ "lint" : " next lint" ,
10+ "deploy" : " next build && touch out/.nojekyll"
1011 },
1112 "dependencies" : {
1213 "@radix-ui/react-collapsible" : " ^1.1.3" ,
You can’t perform that action at this time.
0 commit comments