Skip to content

Commit cb66cbd

Browse files
committed
Don't deploy if there are build errors (eg. out of quota)
1 parent 51e053d commit cb66cbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

top-pypi-packages.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
22
# To be run from cron
3+
4+
# Prevents script from running if there are any errors
5+
set -e
6+
37
cd ~/github/top-pypi-packages
48
./build.sh
59
./deploy.sh

0 commit comments

Comments
 (0)