Skip to content

Commit 6704201

Browse files
authored
Update entrypoint.sh
1 parent 29525c5 commit 6704201

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

entrypoint.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
set -e
2+
# set -e
33

44
echo "Setting up SSH directory"
55
SSH_PATH="$HOME/.ssh"
@@ -13,7 +13,8 @@ chmod 600 "$SSH_PATH/deploy_key"
1313
GIT_COMMAND="git push dokku@$HOST:$PROJECT"
1414

1515
echo "Testing git remote output"
16-
git remote show origin
16+
git remote show origin 2>&1
17+
1718

1819
echo "Detect the project default branch: master or main"
1920
DEFAULT_BRANCH="$(git remote show origin | awk '/HEAD branch/ {print $NF}')"

0 commit comments

Comments
 (0)