Add debug logging to ci script
continuous-integration/laminar-elessar Build 36 succeeded in 47 seconds . Details

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
1 changed files with 3 additions and 1 deletions

4
build
View File

@ -195,7 +195,9 @@ task_ci() {
# FUTURE: We'll (eventually) want to call the package task here too
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;
else
echo "Not deploying, as this build wasn't on the master branch.";