Skip to content

Commit

Permalink
fix: deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Louffty authored Aug 19, 2024
1 parent 28c8988 commit f12effe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
port: 1526
script: |
cd /home/backend/proj/
docker compose down
docker compose pull battlecodes/backend-battlecodes:latest
docker compose up -d
docker pull battlecodes/backend-battlecodes:latest
docker stop backend-container || true
docker rm backend-container || true
docker run --env-file /home/backend/proj/.env -d --name backend-container --network host battlecodes/backend-battlecodes:latest

0 comments on commit f12effe

Please sign in to comment.