Skip to content

Commit

Permalink
Add description in deployed to in commit status
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Apr 22, 2020
1 parent 606d408 commit 608fbff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/update_status_on_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ def update_pr_status_with_deployment(branch_name, commit_sha):
:return: Response POST request to Github API
"""
sympy_bot_token = os.environ.get(SYMPY_BOT_TOKEN_VAR)
deployment_url = "https://%s-dot-sympy-gamma-hrd.appspot.com" % branch_name
payload = {
"state": "success",
"target_url": "https://%s-dot-sympy-gamma-hrd.appspot.com" % branch_name,
"description": "Deployment",
"target_url": deployment_url,
"description": "Deployed to version: %s" % branch_name,
"context": "PR Deployment"
}

Expand Down

0 comments on commit 608fbff

Please sign in to comment.