circle-ci-matrix: Fix deployment

This commit is contained in:
Jean-Christophe Fillion-Robin 2016-11-26 12:15:50 -05:00
parent b4e2a02e0c
commit 029b402646
No known key found for this signature in database
GPG Key ID: 15C1A2812F958BD3

View File

@ -81,7 +81,6 @@ command:
echo "Saving dockcross/$IMAGE into ~/docker cache - done" echo "Saving dockcross/$IMAGE into ~/docker cache - done"
fi fi
- |
if [[ $STEP == "deployment" ]]; then if [[ $STEP == "deployment" ]]; then
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
if [[ $CIRCLE_NODE_INDEX == 0 ]] && [[ ! -f ~/BASE_PUSHED ]]; then if [[ $CIRCLE_NODE_INDEX == 0 ]] && [[ ! -f ~/BASE_PUSHED ]]; then