Skip to content

Commit

Permalink
Merge pull request #6241 from shaneknapp/fix-hub-deployment-script
Browse files Browse the repository at this point in the history
[DH-301] parens were causing this to quietly fail
  • Loading branch information
shaneknapp authored Sep 24, 2024
2 parents 387e8eb + 8693e22 commit dd23716
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/scripts/determine-hub-deployments.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ def main(args):
hubs = []

# Deploy all hubs by getting deployment names from the dirs in deployments/
if (
"GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT" or
"GITHUB_PR_LABEL_HUB_IMAGES"
) in os.environ.keys():
if "GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT" or \
"GITHUB_PR_LABEL_HUB_IMAGES" in os.environ.keys():
for deployment in next(os.walk(args.deployments))[1]:
if deployment not in args.ignore:
hubs.append(deployment)
Expand Down

0 comments on commit dd23716

Please sign in to comment.