Skip to content

Commit

Permalink
update(workflow): rebuilder docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
1stdevfriend committed Dec 19, 2023
1 parent b8d1348 commit 08bb049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
if [ $GIT_PULL_EXIT_CODE -eq 0 ]; then
echo "Git pull successful. Updating and restarting Docker Compose."
docker-compose pull
docker-compose up -d
docker-compose up -d --build
elif [ $GIT_PULL_EXIT_CODE -eq 1 ]; then
echo "Git pull resulted in conflicts. Resolve conflicts and push changes."
git stash
git pull
docker-compose pull
docker-compose up -d
docker-compose up -d --build
else
echo "Git pull failed. Check repository and credentials."
exit 1
Expand Down

0 comments on commit 08bb049

Please sign in to comment.