From 3a999f89162de46d2fcfa6299af8cacebe7b6b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Wi=C5=9Bniewski?= Date: Thu, 21 Nov 2024 22:37:53 +0100 Subject: [PATCH] Add force push to GitLab mirror action --- .github/workflows/mirror_to_gitlab.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mirror_to_gitlab.yml b/.github/workflows/mirror_to_gitlab.yml index b37eb8c4..2e7486a6 100644 --- a/.github/workflows/mirror_to_gitlab.yml +++ b/.github/workflows/mirror_to_gitlab.yml @@ -25,7 +25,7 @@ jobs: git config user.name github-actions git config user.email argmaster.world@gmail.com git remote add gitlab https://${{ secrets.GITLAB_USERNAME }}:${token}@${{ secrets.GITLAB_URL }} - git push gitlab main - git push --tags gitlab main + git push gitlab main -f + git push --tags gitlab main -f env: token: ${{ secrets.GITLAB_MIRROR_ACCESS }}