Skip to content

Commit

Permalink
Add force push to GitLab mirror action
Browse files Browse the repository at this point in the history
  • Loading branch information
Argmaster committed Nov 21, 2024
1 parent 39b6f05 commit 3a999f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mirror_to_gitlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 3a999f8

Please sign in to comment.