Skip to content

Commit

Permalink
version 20 of node...
Browse files Browse the repository at this point in the history
  • Loading branch information
bandinopla committed Oct 8, 2024
1 parent 8d04c84 commit 798d0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/staging-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
port: ${{ secrets.SSH_PORT }}
script: |
rsync -av --exclude=".env" --exclude="useravatar" --exclude="nohup.out" --exclude="tmp" --exclude="stderr.log" --exclude="node_modules" --exclude=".ftp-deploy-sync-state.json" --exclude="firebase-adminsdk-credential.js" /home/${{ secrets.USER }}/wxr-server-staging/. /home/${{ secrets.USER }}/public_html/weightxreps.net/wxr-server-2/
source /home/${{ secrets.USER }}/nodevenv/public_html/weightxreps.net/wxr-server-2/14/bin/activate
source /home/${{ secrets.USER }}/nodevenv/public_html/weightxreps.net/wxr-server-2/20/bin/activate
cd /home/${{ secrets.USER }}/public_html/weightxreps.net/wxr-server-2
npm install
nohup kill $(ps aux | grep "wxr-server-2" | awk '{print $2}') 2> /dev/null || echo "It was not running... anyway..." &

0 comments on commit 798d0cd

Please sign in to comment.