Closed TheSlowGrowth closed 4 years ago
oh nice. Good catch. I'll set that up that variable in a bit.
Is the conditional 'equal to' really =
and not ==
in Travis yml? If so, what a weird choice on their part.
I copied this from the Travis documentation and it works... But you're right, its weird. I looked it up: Its bash syntax, so =
and ==
are aliases, but only if there are spaces around =
.
But I agree that ==
is much clearer so I changed it. Good catch!
Interesting, not sure I ever realized that was valid in bash either haha.
I just set up the env variable for master only. So should be good to go.
This helps developers to use Travis CI when working on their forks. Without this, builds will fail on forks because deployment of the docs is not possible.
For
electro-smith/DaisySP
enable deployment by setting upDEPLOY_DOCS=1
in Travis CI.