Skip to content

Commit d539a2a

Browse files
author
Jack Yuan
committed
change pr method (test)
1 parent 0b59367 commit d539a2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github-action-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ EOL
8686
curl -o pull-request.txt https://api.github.com/repos/$ciOrg/$ciRepo/pulls
8787
# if [ ${secure_env} != true ]; then
8888
# echo "No deploy -- secure environment variables not available"
89-
if [ grep -q 'url' pull-request.txt >> /dev/null 2>&1 ]; then
89+
if [ grep -q 'url' pull-request.txt >/dev/null ]; then
9090
echo "No deploy -- pull request detected"
9191
elif [ ${repo_fork} != "$ciOrg/$ciRepo" ]; then
9292
echo "No deploy -- repository fork: ${repo_fork} != $ciOrg/$ciRepo"

0 commit comments

Comments
 (0)