Use --force-with-lease instead of --force

This commit is contained in:
谭九鼎
2021-01-26 20:02:40 +08:00
committed by GitHub
parent 057a6ba835
commit 59160b8498

View File

@@ -14,7 +14,7 @@ echo "Push to branch $INPUT_BRANCH";
};
if ${INPUT_FORCE}; then
_FORCE_OPTION='--force'
_FORCE_OPTION='--force-with-lease'
fi
if ${INPUT_TAGS}; then