Don't deploy if we're on master
All checks were successful
continuous-integration/laminar-elessar Build 34 succeeded in 52 seconds .

This commit is contained in:
Starbeamrainbowlabs 2019-03-28 23:00:05 +00:00
parent c9d2f1b939
commit dced63f02c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

8
build
View file

@ -193,7 +193,13 @@ task_ci() {
task_end 0; task_end 0;
# FUTURE: We'll (eventually) want to call the package task here too # 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
} }