Skip to content

Commit a2ee559

Browse files
author
Jack Yuan
committed
change pr method (test)
1 parent e3c4798 commit a2ee559

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

github-action-build.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,9 @@ 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 ]
90-
then
89+
if [ grep -q 'url' pull-request.txt >/dev/null 2>&1 ]; then
9190
echo "No deploy -- pull request detected"
92-
elif [ ${repo_fork} != "$ciOrg/$ciRepo" ]
93-
then
91+
elif [ ${repo_fork} != "$ciOrg/$ciRepo" ]; then
9492
echo "No deploy -- repository fork: ${repo_fork} != $ciOrg/$ciRepo"
9593
else
9694
echo "All checks passed for artifact deployment"

0 commit comments

Comments
 (0)