Pull before pushing
This commit is contained in:
parent
21109ad983
commit
7d452ae34d
|
@ -86,6 +86,7 @@ _push_to_github() {
|
|||
fi
|
||||
else
|
||||
echo "::debug::Push commit to remote branch $INPUT_BRANCH"
|
||||
git pull origin "HEAD:$INPUT_BRANCH"
|
||||
git push --set-upstream origin "HEAD:$INPUT_BRANCH" --tags
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue