fix: push force

This commit is contained in:
ange 2024-11-18 16:42:02 +00:00
parent 5e169f1367
commit 394caf2c80
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
2 changed files with 2 additions and 2 deletions

View File

@ -16,4 +16,4 @@ runs:
using: composite
steps:
- name: Mirror
run: ${{ gitea.action_path }}/mirror.sh
run: ${{ gitea.action_path }}/entrypoint.sh

View File

@ -11,4 +11,4 @@ set -x
git init -b main
git remote add origin "$URL"
git fetch --no-tags --prune --no-recurse-submodules origin "$GITHUB_SHA"
git push "$INPUT_URL" "$GITHUB_SHA:$GITHUB_REF"
git push -f "$INPUT_URL" "$GITHUB_SHA:$GITHUB_REF"