Skip to content

Commit 1ef4ea3

Browse files
committed
Fix of deployment procedure (it wasn't failing the build on tests errors)
1 parent 71ae217 commit 1ef4ea3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
set -e
4+
set -o pipefail
5+
36
# Builds Docker image of Community App application.
47
# This script expects a single argument: NODE_ENV, which must be either
58
# "development" or "production".

deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
set -eo pipefail
23

34
# more bash-friendly output for jq
45
JQ="jq --raw-output --exit-status"

0 commit comments

Comments
 (0)