1
0

Make sure that if build.sh fail, it returns

This commit is contained in:
nicolas.dorier
2019-11-07 22:21:00 +09:00
parent ff146ac8c8
commit ec7bca1991
2 changed files with 3 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ docker run -v "$(pwd)/Generated:/app/Generated" \
-e "BTCPAYGEN_LIGHTNING=$BTCPAYGEN_LIGHTNING" \
-e "BTCPAYGEN_SUBNAME=$BTCPAYGEN_SUBNAME" \
-e "BTCPAY_HOST_SSHAUTHORIZEDKEYS=$BTCPAY_HOST_SSHAUTHORIZEDKEYS" \
--rm $BTCPAYGEN_DOCKER_IMAGE || echo "Building the fragment failed"
--rm $BTCPAYGEN_DOCKER_IMAGE
if [ "$BTCPAYGEN_REVERSEPROXY" == "nginx" ]; then
cp Production/nginx.tmpl Generated/nginx.tmpl