pyl w/ burnettk
This commit is contained in:
parent
e5c72eb87b
commit
cc95973552
|
@ -1,4 +1,4 @@
|
||||||
"""staging."""
|
"""Staging."""
|
||||||
from os import environ
|
from os import environ
|
||||||
|
|
||||||
GIT_BRANCH = environ.get("GIT_BRANCH_TO_PUBLISH_TO", default="staging")
|
GIT_BRANCH = environ.get("GIT_BRANCH_TO_PUBLISH_TO", default="staging")
|
||||||
|
|
|
@ -228,7 +228,9 @@ class GitService:
|
||||||
f"from {g.user.username} on {current_app.config['ENV_IDENTIFIER']}"
|
f"from {g.user.username} on {current_app.config['ENV_IDENTIFIER']}"
|
||||||
)
|
)
|
||||||
cls.commit(commit_message, destination_process_root)
|
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
|
# build url for github page to open PR
|
||||||
git_remote = cls.run_shell_command_to_get_stdout(
|
git_remote = cls.run_shell_command_to_get_stdout(
|
||||||
|
|
Loading…
Reference in New Issue