Write update logs to file
This commit is contained in:
parent
5331e57f8a
commit
5b0e38281a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue