Skip to content

Commit cbd53e3

Browse files
authored
Merge pull request #33 from python-chile/feature-32-version-2026
Feature 32 version 2026
2 parents 8a60318 + 53da3d0 commit cbd53e3

34 files changed

+220
-1120
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,37 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313
name: Checkout código
14-
14+
1515
- uses: actions/setup-node@v4
1616
name: Setup Node.js 22.x
1717
with:
1818
node-version: '22'
1919
cache: 'npm'
20-
20+
2121
- name: Creacion variables de entorno
2222
run: |
2323
touch .env.local
2424
echo "NEXT_PUBLIC_FEATURE_REGISTRATION=${{ vars.NEXT_PUBLIC_FEATURE_REGISTRATION }}" >> .env.local
2525
echo "NEXT_PUBLIC_FEATURE_SPONSORS=${{ vars.NEXT_PUBLIC_FEATURE_SPONSORS }}" >> .env.local
2626
echo "NEXT_PUBLIC_FEATURE_SPONSOR_FORM=${{ vars.NEXT_PUBLIC_FEATURE_SPONSOR_FORM }}" >> .env.local
2727
echo "NEXT_PUBLIC_SITE_URL=${{ vars.NEXT_PUBLIC_SITE_URL }}" >> .env.local
28-
28+
2929
- name: Instalar dependencias y build
3030
run: |
3131
npm ci
3232
npm run build
33-
33+
3434
- name: Copia archivos hacia servidor
3535
uses: appleboy/scp-action@v1
3636
with:
3737
host: ${{ secrets.PYDAY_SERVER }}
3838
username: ${{ secrets.PYDAY_USER }}
3939
password: ${{ secrets.PYDAY_PASS }}
4040
port: ${{ secrets.PYDAY_PORT }}
41-
source: ".next,public,next.config.mjs,package.json,package-lock.json,.env.local"
41+
source: ".out"
4242
target: "pydaydotcl"
43-
44-
- name: Iniciar app con PM2 en el servidor
43+
44+
- name: Copia out a public
4545
uses: appleboy/ssh-action@v1
4646
with:
4747
host: ${{ secrets.PYDAY_SERVER }}
@@ -50,9 +50,4 @@ jobs:
5050
port: ${{ secrets.PYDAY_PORT }}
5151
script: |
5252
cd pydaydotcl
53-
export NVM_DIR="/opt/nvm"
54-
source "$NVM_DIR/nvm.sh"
55-
nvm use 22
56-
npm install --omit=dev
57-
pm2 delete pydaydotcl || true
58-
PORT=3002 pm2 start npm --name "pydaydotcl" -- start
53+
sh deploy.sh

next.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3+
output: 'export',
34
transpilePackages: ["framer-motion"],
45
trailingSlash: true,
56
images: {
@@ -17,7 +18,7 @@ const nextConfig = {
1718
formats: ["image/webp"],
1819
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
1920
minimumCacheTTL: 86400,
20-
unoptimized: false,
21+
unoptimized: true,
2122
},
2223
};
2324

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
22
"name": "pydaydotcl",
33
"version": "2.0.1",
4-
"description": "PyDay Chile 2025 - Evento anual gratuito que reúne a la comunidad Python en distintas ciudades de Chile.",
4+
"description": "PyDay Chile 2026 - Evento anual gratuito que reúne a la comunidad Python en distintas ciudades de Chile.",
55
"private": true,
6-
"author": "María-Fernanda marifer.villalobos@pythonchile.cl",
7-
"contributors": [
8-
"Liliana Garmendia liliana.garmendia@pythonchile.cl"
9-
],
6+
"author": "Python Chile desarrollo@pythonchile.cl",
7+
"contributors": [],
108
"keywords": [
119
"Python",
1210
"Chile",
50.7 KB
Loading

public/images/campus/rgua.webp

99.1 KB
Loading

public/images/cities/curico.webp

262 KB
Loading

public/images/cities/rgua.webp

25.6 KB
Loading

public/images/logos/logo_bg.png

-153 KB
Binary file not shown.

public/images/logos/logo_pyday.png

-56.8 KB
Binary file not shown.
-833 KB
Binary file not shown.

0 commit comments

Comments
 (0)