mirror of https://github.com/CGAL/cgal
Merge pull request #5838 from maxGimeno/Fix_doc_removal-maxGimeno
Online Doc: Fix condition for push
This commit is contained in:
commit
f5937cd303
|
|
@ -25,8 +25,8 @@ jobs:
|
||||||
if [ -d ${PR_NUMBER} ]; then
|
if [ -d ${PR_NUMBER} ]; then
|
||||||
git rm -r ${PR_NUMBER}
|
git rm -r ${PR_NUMBER}
|
||||||
fi
|
fi
|
||||||
#git diff exits with 1 if there is a diff
|
#git diff exits with 1 if there is no diff
|
||||||
if ! git diff --quiet; then
|
if git diff --quiet; then
|
||||||
git commit -a --amend -m"base commit" && git push -f -u origin master
|
git commit -a --amend -m"base commit" && git push -f -u origin master
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue