Bump charset-normalizer from 3.4.0 to 3.4.1 #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy production app | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Configure SSH key | |
run: | | |
install --mode=600 -D /dev/null ~/.ssh/id_ed25519 | |
echo "${{ secrets.ssh_private_key }}" > ~/.ssh/id_ed25519 | |
ssh-keyscan -H -p 2234 ${{ secrets.ssh_host }} > ~/.ssh/known_hosts | |
- name: Pull changes on remote server | |
run: ssh ssh://${{ secrets.ssh_user }}@${{ secrets.ssh_host }}:2234 git -C /opt/wormgas pull | |
- name: Ensure requirements are installed | |
run: ssh ssh://${{ secrets.ssh_user }}@${{ secrets.ssh_host }}:2234 /opt/venv/wormgas-3.12/bin/pip-sync /opt/wormgas/requirements.txt | |
- name: Restart app | |
run: ssh ssh://${{ secrets.ssh_user }}@${{ secrets.ssh_host }}:2234 sudo systemctl restart wormgas.service |