Fix workflow for Nvm

This commit is contained in:
Vivek Teega 2024-01-12 16:24:10 +05:30
parent 1adaf81523
commit 951fc06857

View File

@ -14,6 +14,7 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd ${{ secrets.APP_FOLDER }} && git pull
nvm use ${{ secrets.NVM_VERSION }}
${{ secrets.NPM_VERSION_PATH }} install
cat ${{ secrets.ENV_FILE_CONTENT }} >> .env
supervisorctl restart ${{ secrets.SUPERVISOR_SERVICE_NAME }}