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 6a0f743
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ops/buildkite/build-code
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ HOSTNAME=$(hostname | tr -d '\r')
build_code () {
echo "--- Build code from branch master"

# TODO: uncomment this to avoid deploys from non-master branch
# if [[ "$BUILDKITE_BRANCH" != "master" ]]; then
# TODO: uncomment this before merging to avoid deploys from non-master branch
# 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
1 change: 1 addition & 0 deletions ops/buildkite/deploy-content
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ set -o errexit
set -o pipefail
set -o nounset


# Cloudflare Pages project name
PROJECT_NAME=owid-grapher

Expand Down

0 comments on commit 6a0f743

Please sign in to comment.