[Minor] Don't fail deploy if directory already exists
This commit is contained in:
parent
0fdbfcf2a2
commit
c219a03fc0
|
@ -75,7 +75,7 @@ fi
|
||||||
|
|
||||||
if [ "$(hostname -f)" == "${DEPLOY_SERVER}" ] ; then
|
if [ "$(hostname -f)" == "${DEPLOY_SERVER}" ] ; then
|
||||||
echo "INFO: Publishing..."
|
echo "INFO: Publishing..."
|
||||||
if ! mkdir ${DIST_STROLCH} ; then
|
if ! mkdir -p ${DIST_STROLCH} ; then
|
||||||
echo "ERROR: Failed to create dist ${DIST_STROLCH}"
|
echo "ERROR: Failed to create dist ${DIST_STROLCH}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue