Попытка
Some checks failed
Deploy to Server / deploy (push) Failing after 6s
Test Workflow / test (push) Successful in 2s

This commit is contained in:
Алексей Скакодуб 2025-04-21 18:06:00 -04:00
parent 62fd20182b
commit d8f35f600c

View File

@ -23,7 +23,7 @@ jobs:
- name: Deploy to Server
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} "
sudo cd ${{ secrets.PROJECT_PATH }} &&
cd ${{ secrets.PROJECT_PATH }} &&
git pull origin master &&
docker-compose down --remove-orphans &&
docker-compose up -d --build