Skip to content

Commit 97eeb97

Browse files
Fix: Use --all instead of --mirror to avoid branch deletion errors
1 parent 1991ec6 commit 97eeb97

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/mirror.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ jobs:
1212
- uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
15+
- name: Fetch all branches
16+
run: git fetch --all
1517
- name: Push to GitLab
1618
run: |
1719
git remote add gitlab "https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.luminalab.ai/guillerme/video_processing.git"
1820
git config http.sslVerify false
19-
git push --mirror gitlab
21+
git push gitlab --all --force
22+
git push gitlab --tags --force

0 commit comments

Comments
 (0)