Skip to content

Commit

Permalink
gh
Browse files Browse the repository at this point in the history
  • Loading branch information
samu9 committed Oct 13, 2024
1 parent 13dcd94 commit b11d3f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
REMOTE_USER: ${{ secrets.REMOTE_USER }}
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}

- name: Install new version on remote server
- name: Install new version on remote server and restart
run: |
ssh -o StrictHostKeyChecking=no ${{secrets.REMOTE_USER}}@${{secrets.REMOTE_HOST}} << 'EOF'
cd /opt/hermadata
source ./venv/bin/activate
which python
.venv/bin/pip install *.tar.gz --force-reinstall
source .venv/bin/activate
pip install *.tar.gz --force-reinstall
rm *.tar.gz
export NVM_DIR=~/.nvm
pm2 status hermdata-backend
EOF
env:
Expand Down

0 comments on commit b11d3f8

Please sign in to comment.