Skip to content

feat: filter orig_dep_date by including end_at and remove upper bound… #91

feat: filter orig_dep_date by including end_at and remove upper bound…

feat: filter orig_dep_date by including end_at and remove upper bound… #91

Workflow file for this run

name: Deploy to Production
on:
push:
branches:
- production
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout production branch
uses: actions/checkout@v2
with:
ref: production
- name: Install SSH
run: sudo apt-get update && sudo apt-get install -y openssh-client
- name: SSH into machine and restart service
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
passphrase: ${{ secrets.SSH_PASSPHRASE }}
port: ${{ secrets.SSH_PORT }}
script: |
cd MuoVErsi
git checkout production
git pull
venv/bin/python -m pip install -r requirements.txt
venv/bin/alembic upgrade head
sudo systemctl restart muoversi