Skip to content

Fix typo in RestaurantSerializer field name from 'bussiness_type' to … #7

Fix typo in RestaurantSerializer field name from 'bussiness_type' to …

Fix typo in RestaurantSerializer field name from 'bussiness_type' to … #7

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