Merge pull request 'staging' (#23) from staging into production
Deploy Search Typesense / deploy (push) Successful in 47s Details

Reviewed-on: #23
This commit is contained in:
Esteban Paz 2026-07-28 04:28:16 +00:00
commit 79c73f742a
1 changed files with 10 additions and 8 deletions

View File

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