Skip to content

Commit

Permalink
sitename.siteenv
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Sep 22, 2023
1 parent 0785fd1 commit 0d2a062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/scripts/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ function update_composer() {
fi

# Check for long-running workflows.
if [[ "$(terminus workflow:wait --max=1 "${sitename}".dev)" == *"running"* ]]; then
if [[ "$(terminus workflow:wait --max=1 "${sitename}"."$siteenv")" == *"running"* ]]; then
waittime=$(( waittime / 3 ))
echo "${yellow}Workflow still running, waiting another ${waittime} seconds.${normal}"
terminus workflow:wait --max="$waittime" "$sitename"."$siteenv"
Expand Down

0 comments on commit 0d2a062

Please sign in to comment.