Write update logs to file

This commit is contained in:
Lucian Popescu 2022-05-22 22:04:11 +03:00
parent 5331e57f8a
commit 5b0e38281a
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ do
done
# After the images were uploaded to DockerHub by the Github runner, the containers are ready to be upgraded
TAG=${LAST_COMMIT} docker-compose up -d
echo "Containers updated successfully to version ${LAST_COMMIT}"
TAG=${LAST_COMMIT} docker-compose up -d &> /dev/null
echo "Containers updated successfully to version ${LAST_COMMIT}" >> update-containers.log
fi
# Sleep for 5 minutes as commits are not generated very often