Compare commits

...

2 Commits

Author SHA1 Message Date
davish a77585d298 Merge pull request 'change script to script inside the deploy' (#11) from main into staging
Deploy Search Typesense / deploy (push) Successful in 57s Details
Reviewed-on: #11
2026-07-28 02:13:58 +00:00
Esteban Paz 0efbf89b0a change script to script inside the deploy 2026-07-27 21:13:01 -05:00
1 changed files with 8 additions and 4 deletions

View File

@ -75,5 +75,9 @@ jobs:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
cd ${{ env.TARGET_DIR }}
PM2_NAME=${{ env.PM2_NAME }} pm2 reload ${{ env.PM2_NAME }} --env ${{ env.PM2_ENV }} || \
PM2_NAME=${{ env.PM2_NAME }} pm2 start ecosystem.config.cjs --env ${{ env.PM2_ENV }}
NUXT_FEEDBACK_TOKEN=${{ secrets.NUXT_FEEDBACK_TOKEN }} \
TYPESENSE_NODES='${{ secrets.TYPESENSE_NODES }}' \
pm2 reload ${{ env.PM2_NAME }} --env ${{ env.PM2_ENV }} || \
NUXT_FEEDBACK_TOKEN=${{ secrets.NUXT_FEEDBACK_TOKEN }} \
TYPESENSE_NODES='${{ secrets.TYPESENSE_NODES }}' \
pm2 start ecosystem.config.cjs --env ${{ env.PM2_ENV }}