Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Oct 7, 2023
1 parent 7c384bc commit 15cb452
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ops/buildkite/build-code
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build_code () {
echo "--- Build code from branch master"

# TODO: uncomment this to avoid deploys from non-master branch
# if [[ "$BUILDKITE_BRANCH" != "master" ]]; then
# if [[ "$BRANCH" != "master" ]]; then
# echo "Error: You're not on the master branch. Exiting."
# exit 1
# fi
Expand Down Expand Up @@ -55,8 +55,8 @@ update_owid_grapher_repo() {
(
cd owid-grapher
git fetch --all -q
git checkout "$BUILDKITE_BRANCH" -q
git reset --hard origin/"$BUILDKITE_BRANCH"
git checkout "$BRANCH" -q
git reset --hard origin/"$BRANCH"
)
}

Expand Down

0 comments on commit 15cb452

Please sign in to comment.