Skip to content

feat: Добавил обнову. #41

feat: Добавил обнову.

feat: Добавил обнову. #41

Workflow file for this run

name: Django-app workflow
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands to deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
script: |
# Выполняет деплой
cd ${{ secrets.PATH }}
git pull
docker-compose up -d --build