Skip to content

Commit 561f843

Browse files
stestaggJamesIves
authored andcommitted
Don't push if the build fails (#9)
This change makes the script immediately exit if any part of it fails
1 parent 46b5976 commit 561f843

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entrypoint.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh -l
22

3+
set -e
4+
35
if [ -z "$ACCESS_TOKEN" ]
46
then
57
echo "You must provide the action with a GitHub Personal Access Token secret in order to deploy."

0 commit comments

Comments
 (0)