Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
rasulov1337 committed Dec 15, 2024
1 parent cbab1a7 commit fb6728b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,11 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd /home/ubuntu/
wget https://raw.githubusercontent.com/go-park-mail-ru/2024_2_Fight-club/refs/heads/deploy/docker-compose.yml
if [ ! -d backend ]; then git clone https://github.com/go-park-mail-ru/2024_2_Fight-club backend
else cd backend
fi
git fetch --all
git switch deploy
git reset --hard origin/deploy
docker rm -f $(sudo docker ps -aq)
docker compose up -d

0 comments on commit fb6728b

Please sign in to comment.