blob: daa802f6783ce1056db3907955f3aa1144f5ed01 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from ..utility import *
def handle(data, theme):
if isStatusVisible(data['site_id'], data['state'].lower(), 'showSuccessfulDeployMessages'):
theme.deployment(
branch = data['branch'],
repo = data['name'],
status = data['state'],
commitId = data['commit_ref'],
commitMessage = data['title'],
commitAuthor = data['commit_url'].split('/')[3], #TODO: Make this show the proper author
url = getShortURL(data['url'])
)
|