Skip to content

Commit

Permalink
Merge pull request #6040 from shaneknapp/fixing-stupid-bash-redux-red…
Browse files Browse the repository at this point in the history
…ux-redux

[DH-301] fixing bash conditionals...  again
  • Loading branch information
felder authored Aug 28, 2024
2 parents 84d5248 + 42be9af commit 37fada0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# present, this means the base hub image has changed, and all hubs
# (staging or prod) need to be redeployed.
#
if [[ -n GITHUB_PR_LABEL_HUB_IMAGES || -n GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT ]]; then
if [[ -n ${GITHUB_PR_LABEL_HUB_IMAGES} || -n ${GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT} ]]; then
echo "DEPLOY=1" >> $GITHUB_ENV
# Otherwise, check to see if the PR labels contain any hubs, and
# deploy just those hubs to staging.
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
# present, this means the base hub image has changed, and all hubs
# (staging or prod) need to be redeployed.
#
if [[ -v GITHUB_PR_LABEL_HUB_IMAGES || -v GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT ]]; then
if [[ -n ${GITHUB_PR_LABEL_HUB_IMAGES} || -n ${GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT} ]]; then
echo "DEPLOY=1" >> $GITHUB_ENV
# Otherwise, check to see if the PR labels contain any hubs, and
# deploy just those hubs to prod.
Expand Down

0 comments on commit 37fada0

Please sign in to comment.