deploy: fix branch
Déploiement API BETA / build (push) Successful in 2m14s
Déploiement API BETA / deploy (push) Successful in 48s

This commit is contained in:
2026-05-16 10:12:11 +04:00
parent 7950eb4fae
commit 4f512a555a
+4 -1
View File
@@ -36,8 +36,11 @@ jobs:
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
script: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
cd ${{ secrets.DEPLOY_PATH }}
git pull origin main
git pull --ff-only origin dev
corepack enable
yarn install --frozen-lockfile
NODE_ENV=production yarn build
pm2 restart api-beta-pawol