Skip to content

Commit 432c1cc

Browse files
author
0rtemk
committed
hotfix
1 parent 3a00271 commit 432c1cc

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/practika.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,14 @@ jobs:
114114
cd ~/eduplatform
115115
116116
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
117-
117+
118118
export DOCKER_USERNAME=${{ secrets.DOCKER_USERNAME }}
119-
119+
120+
docker compose down || true
121+
120122
docker compose pull
121-
122-
docker compose up -d --remove-orphans
123+
124+
docker compose up -d --build --remove-orphans
123125
124126
# === ВРЕМЕННЫЕ ЛОГИ ДЛЯ ДЕБАГА ===
125127
echo "--- LOGS FOR WEB CONTAINER ---"
@@ -130,4 +132,4 @@ jobs:
130132
docker compose logs --tail=50 server
131133
# =====================================
132134
133-
docker system prune -af
135+
docker system prune -af

0 commit comments

Comments
 (0)