Compare commits

...

20 Commits

Author SHA1 Message Date
Esteban Paz a16045e9c9 Merge pull request 'staging pm2 multiple fixes' (#51) from staging into production
Deploy cdrdpyj / deploy (push) Successful in 42s Details
Reviewed-on: #51
2026-07-28 12:06:05 +00:00
Esteban Paz e1dc916b57 Merge pull request 'fixed folder name' (#50) from main into staging
Deploy cdrdpyj / deploy (push) Successful in 46s Details
Reviewed-on: #50
2026-07-28 12:04:27 +00:00
Esteban Paz 6b4e7c26f9 fixed folder name 2026-07-28 07:04:03 -05:00
Esteban Paz 6ecf7b98cd Merge pull request 'main' (#49) from main into staging
Deploy cdrdpyj / deploy (push) Successful in 1m0s Details
Reviewed-on: #49
2026-07-28 11:58:32 +00:00
Esteban Paz 660f88cb6e change pm2 name 2026-07-28 06:58:02 -05:00
Esteban Paz 361a39f8a3 Merge pull request 'change ortigrafia argentina' (#47) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 1m6s Details
Reviewed-on: #47
2026-07-26 16:31:02 +00:00
Esteban Paz 74e7e6c085 Merge pull request 'change select_placeholder' (#46) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 1m5s Details
Reviewed-on: #46
2026-07-26 16:21:13 +00:00
Esteban Paz e1fb8b6f1d Merge pull request 'change documentos text es.json' (#45) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 1m5s Details
Reviewed-on: #45
2026-07-26 16:19:10 +00:00
Esteban Paz cfedd443c2 Merge pull request 'multple fixes from QA testers' (#44) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 1m7s Details
Reviewed-on: #44
2026-07-26 16:15:28 +00:00
Esteban Paz 0901d4eae8 Merge pull request 'change label apellido' (#43) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 1m4s Details
Reviewed-on: #43
2026-07-25 15:42:57 +00:00
Esteban Paz 04cc1c28d2 Merge pull request 'add phone numbers to telefono' (#41) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 2m11s Details
Reviewed-on: #41
2026-07-25 15:19:44 +00:00
Esteban Paz 3fb5a411c3 Merge pull request 'feat: add PR to countries, add second name and add full_name like value' (#40) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 1m4s Details
Reviewed-on: #40
2026-07-25 14:48:52 +00:00
Esteban Paz d90b129924 Merge pull request 'change pnpm' (#39) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 1m10s Details
Reviewed-on: #39
2026-07-25 02:38:59 +00:00
Esteban Paz a4ba8095f5 Merge pull request 'create_form' (#38) from create_form into staging
Deploy cdrdpyj / deploy (push) Failing after 1m37s Details
Reviewed-on: #38
2026-07-25 02:05:33 +00:00
Esteban Paz affbc47bfd Merge pull request 'create corepack enable and pnpm install --prod' (#37) from create_form into staging
Deploy cdrdpyj / deploy (push) Failing after 53s Details
Reviewed-on: #37
2026-07-24 20:16:36 +00:00
Esteban Paz fe365801e9 Merge pull request 'change source and pnpm install for project' (#36) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 58s Details
Reviewed-on: #36
2026-07-24 19:46:56 +00:00
Esteban Paz ceaa96dd1c Merge pull request 'change md again x2' (#35) from create_form into staging
Deploy cdrdpyj / deploy (push) Successful in 49s Details
Reviewed-on: #35
2026-07-24 18:59:21 +00:00
Esteban Paz 4348aab5b1 Merge pull request 'change md again' (#34) from create_form into staging
Deploy cdrdpyj / deploy (push) Failing after 44s Details
Reviewed-on: #34
2026-07-24 18:55:25 +00:00
Esteban Paz b4826543de Merge pull request 'change path of deploy vps' (#33) from create_form into staging
Deploy cdrdpyj / deploy (push) Failing after 50s Details
Reviewed-on: #33
2026-07-24 18:36:39 +00:00
Esteban Paz 92532f538f Merge pull request 'create_form' (#32) from create_form into staging
Deploy cdrdpyj / deploy (push) Failing after 50s Details
Reviewed-on: #32
2026-07-24 18:29:16 +00:00
2 changed files with 26 additions and 20 deletions

View File

@ -14,10 +14,10 @@ jobs:
run: | run: |
if [ "${{ gitea.ref_name }}" = "production" ]; then if [ "${{ gitea.ref_name }}" = "production" ]; then
echo "TARGET_DIR=/var/www/node/cdrdpyj" >> $GITHUB_ENV echo "TARGET_DIR=/var/www/node/cdrdpyj" >> $GITHUB_ENV
echo "PM2_ENV=production" >> $GITHUB_ENV echo "APP_NAME=cdrdpyj-live" >> $GITHUB_ENV
else else
echo "TARGET_DIR=/var/www/node/dev.cdrdjyp" >> $GITHUB_ENV echo "TARGET_DIR=/var/www/node/dev.cdrdjyp" >> $GITHUB_ENV
echo "PM2_ENV=staging" >> $GITHUB_ENV echo "APP_NAME=cdrdpyj" >> $GITHUB_ENV
fi fi
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v4
@ -53,7 +53,7 @@ jobs:
npm install -g pnpm@11 2>&1 npm install -g pnpm@11 2>&1
cd ${{ env.TARGET_DIR }} cd ${{ env.TARGET_DIR }}
pnpm install --prod 2>&1 pnpm install --prod 2>&1
sed -i "s|TURNSTILE_SITE_KEY: \"\"|TURNSTILE_SITE_KEY: \"${{ secrets.TURNSTILE_SITE_KEY }}\"|" ecosystem.config.cjs sed -i "s|TURNSTILE_SITE_KEY: \"\"|TURNSTILE_SITE_KEY: \"${{ secrets.TURNSTILE_SITE_KEY }}\"|g" ecosystem.config.cjs
sed -i "s|TURNSTILE_SECRET_KEY: \"\"|TURNSTILE_SECRET_KEY: \"${{ secrets.TURNSTILE_SECRET_KEY }}\"|" ecosystem.config.cjs sed -i "s|TURNSTILE_SECRET_KEY: \"\"|TURNSTILE_SECRET_KEY: \"${{ secrets.TURNSTILE_SECRET_KEY }}\"|g" ecosystem.config.cjs
pm2 reload ecosystem.config.cjs --env ${{ env.PM2_ENV }} --update-env || \ pm2 reload ecosystem.config.cjs --only ${{ env.APP_NAME }} --update-env || \
pm2 start ecosystem.config.cjs --env ${{ env.PM2_ENV }} --update-env pm2 start ecosystem.config.cjs --only ${{ env.APP_NAME }} --update-env

View File

@ -1,18 +1,24 @@
module.exports = { module.exports = {
apps: [{ apps: [
name: "cdrdpyj", {
script: "dist/server/entry.mjs", name: "cdrdpyj",
env: { script: "dist/server/entry.mjs",
NODE_ENV: "staging", env: {
PORT: 3310, NODE_ENV: "staging",
TURNSTILE_SITE_KEY: "", PORT: 3310,
TURNSTILE_SECRET_KEY: "", TURNSTILE_SITE_KEY: "",
TURNSTILE_SECRET_KEY: "",
}
}, },
env_production: { {
NODE_ENV: "production", name: "cdrdpyj-live",
PORT: 4321, script: "dist/server/entry.mjs",
TURNSTILE_SITE_KEY: "", env: {
TURNSTILE_SECRET_KEY: "", NODE_ENV: "production",
PORT: 4321,
TURNSTILE_SITE_KEY: "",
TURNSTILE_SECRET_KEY: "",
}
} }
}] ]
}; };