File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1- name : Deploy to GitHub Pages
1+ name : Deploy Next.js site to Pages
22
33on :
44 push :
@@ -27,11 +27,19 @@ jobs:
2727 cache : ' npm'
2828
2929 - name : Install dependencies
30- run : npm ci
30+ run : |
31+ npm ci
32+ npm install sharp # Importante para el manejo de imágenes
33+
34+ - name : Setup Pages
35+ uses : actions/configure-pages@v4
3136
3237 - name : Build with Next.js
3338 run : npm run build
3439
40+ - name : Create .nojekyll file
41+ run : touch out/.nojekyll
42+
3543 - name : Upload artifact
3644 uses : actions/upload-pages-artifact@v3
3745 with :
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ const nextConfig: NextConfig = {
44 output : 'export' , // Importante para generar archivos estáticos
55 images : {
66 unoptimized : true , // Necesario para exportación estática
7- }
7+ } ,
8+ swcMinify : false ,
89} ;
910
1011export default nextConfig ;
You can’t perform that action at this time.
0 commit comments