pyl w/ burnettk

This commit is contained in:
jasquat 2022-12-09 17:30:14 -05:00
parent 6d9b3c5276
commit 23e8525ca4
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
"""staging."""
"""Staging."""
from os import environ
GIT_BRANCH = environ.get("GIT_BRANCH_TO_PUBLISH_TO", default="staging")

View File

@ -228,7 +228,9 @@ class GitService:
f"from {g.user.username} on {current_app.config['ENV_IDENTIFIER']}"
)
cls.commit(commit_message, destination_process_root)
cls.run_shell_command(["git", "push", "--set-upstream", "origin", branch_to_pull_request])
cls.run_shell_command(
["git", "push", "--set-upstream", "origin", branch_to_pull_request]
)
# build url for github page to open PR
git_remote = cls.run_shell_command_to_get_stdout(