Files
weave/bin/circle-deploy-master
T
2016-09-29 11:45:28 +01:00

20 lines
353 B
Bash
Executable File

#!/bin/bash
set -e
source "$(dirname "$(readlink -f "$0")")/circle-functions"
source "$STATE"
if [ -z "$SKIP_TESTS" ] ; then
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
cd $SRCDIR
make clean-bin
make publish
fi
install_wordepress v1.0.0
cd $SRCDIR
bin/publish-site "$WP_DEV_URL" "$WP_DEV_USER" "$WP_DEV_PASSWORD"