Skip to content

Enhance Restaurant model and admin interface with closed days functio… #8

Enhance Restaurant model and admin interface with closed days functio…

Enhance Restaurant model and admin interface with closed days functio… #8

Workflow file for this run

name: Producción
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout del repositorio
uses: actions/checkout@v2
- name: Conectar al VPS y actualizar
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.VPS_USERNAME }}
password: ${{ secrets.VPS_PASSWORD }}
script: |
cd /var/www/kiki
git pull
source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
sudo systemctl restart kiki
sudo systemctl restart nginx