Skip to content

Commit

Permalink
Fix workflow for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekteega committed Jan 12, 2024
1 parent f09176c commit 6b21e3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
cd ${{ secrets.APP_FOLDER }} && git pull
source ~/.nvm/nvm.sh
nvm use ${{ secrets.NVM_VERSION }}
${{ secrets.NPM_VERSION_PATH }} install
npm install
touch ${{ secrets.ENV_FILE_CONTENT }}
cat ${{ secrets.ENV_FILE_CONTENT }} >> .env
supervisorctl restart ${{ secrets.SUPERVISOR_SERVICE_NAME }}

0 comments on commit 6b21e3b

Please sign in to comment.