Skip to content

Commit

Permalink
#28 always use generated APP_NAME when setting up CONTAINER_HOSTING_S…
Browse files Browse the repository at this point in the history
…SH_SETUP_HANDLER_API_KEY
  • Loading branch information
chrisjsimpson committed Apr 15, 2023
1 parent baf8d12 commit ae13c5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def github_store_secret(SECRET_NAME, SECRET_VALUE: str):
# POST CONTAINER_HOSTING_API_KEY to DOKKU_HOST_SSH_ENDPOINT
data = {
"CONTAINER_HOSTING_SSH_SETUP_HANDLER_API_KEY": CONTAINER_HOSTING_SSH_SETUP_HANDLER_API_KEY,
"APP_NAME": repo_name,
"APP_NAME": APP_NAME,
"CONTAINER_HOSTING_API_KEY": CONTAINER_HOSTING_API_KEY,
}
req = requests.post(
Expand Down Expand Up @@ -625,7 +625,8 @@ def add_flask_quickstart():
signal_new_repo.send(
{
"app_url": app_url,
"repo_name": APP_NAME,
"APP_NAME": APP_NAME,
"repo_name": repo_name,
"user_email": email,
"avatar_url": avatar_url,
"github_username": username,
Expand Down

0 comments on commit ae13c5d

Please sign in to comment.