Add debug logging to ci script
All checks were successful
continuous-integration/laminar-elessar Build 36 succeeded in 47 seconds .

This commit is contained in:
Starbeamrainbowlabs 2019-03-28 23:07:48 +00:00
parent eeea59eaff
commit 23be94ff5e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

4
build
View file

@ -195,7 +195,9 @@ task_ci() {
# 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; tasks_run build archive;
if [[ "$(git rev-parse --abbrev-ref HEAD)" == "master" ]]; then echo "[DEBUG] '$(git rev-parse --abbrev-ref HEAD)' / 'master'";
if [ "$(git rev-parse --abbrev-ref HEAD)" == "master" ]; then
tasks_run deploy; tasks_run deploy;
else else
echo "Not deploying, as this build wasn't on the master branch."; echo "Not deploying, as this build wasn't on the master branch.";