Skip to content

Commit 47dcfb0

Browse files
committed
Adding flag to exit script on error
1 parent 196b3d2 commit 47dcfb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build-site.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
2+
# Print commands
23
set -x
4+
# Exit on error
5+
set -e
36

47
if [[ -z "${DEPLOY_PRIME_URL}" ]]; then
58
USE_BASE_URL_SITE=""

0 commit comments

Comments
 (0)