blob: 614e067b9bdace4f5205ebe9a2d15175f0defe89 (
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['deploy_url'])
)
|