Browse Source

Don't deploy if we're on master

master
Starbeamrainbowlabs 4 years ago
parent
commit
dced63f02c
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 8
      build

8
build

@ -193,7 +193,13 @@ task_ci() { @@ -193,7 +193,13 @@ task_ci() {
task_end 0;
# FUTURE: We'll (eventually) want to call the package task here too
tasks_run build archive deploy;
tasks_run build archive;
if [[ "$(git rev-parse --abbrev-ref HEAD)" == "master" ]]; then
tasks_run deploy;
else
echo "Not deploying, as this build wasn't on the master branch.";
fi
}

Loading…
Cancel
Save