Skip to content

Commit 6aff3fa

Browse files
authored
Merge pull request #48 from cseitz/patch-1
fix(CI): Updated CI to perform minimal-downtime deployment with docker build followed by a quick restart
2 parents 90d7f45 + 4ea6b70 commit 6aff3fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
git fetch
4040
echo "Pulling Changes from Github"
4141
git pull
42-
echo "Take down docker compose stack"
43-
docker compose down
44-
echo "Start docker compose stack and rebuild"
45-
docker compose up --build -d
42+
echo "Building docker"
43+
docker compose build
44+
echo "Starting docker"
45+
docker compose up -d --force-recreate

0 commit comments

Comments
 (0)