mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Try different branch variable to try & get netlify to work
This commit is contained in:
parent
0b15ab06d8
commit
a8a4d44a57
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ elif [[ "${#BUILDKITE_BRANCH_ARRAY[@]}" == "2" ]]; then
|
||||||
fi
|
fi
|
||||||
# Try the target branch of the push or PR.
|
# Try the target branch of the push or PR.
|
||||||
clone $deforg $defrepo $BUILDKITE_PULL_REQUEST_BASE_BRANCH
|
clone $deforg $defrepo $BUILDKITE_PULL_REQUEST_BASE_BRANCH
|
||||||
# Try the current branch from Jenkins.
|
# Try BRANCH which is set by Netlify
|
||||||
clone $deforg $defrepo `"echo $GIT_BRANCH" | sed -e 's/^origin\///'`
|
clone $deforg $defrepo $BRANCH
|
||||||
# Use the default branch as the last resort.
|
# Use the default branch as the last resort.
|
||||||
clone $deforg $defrepo $defbranch
|
clone $deforg $defrepo $defbranch
|
||||||
|
|
Loading…
Reference in a new issue