There was an error while loading. Please reload this page.
1 parent 51885f3 commit deb3f67Copy full SHA for deb3f67
1 file changed
.github/workflows/mirror-to-gitlab.yml
@@ -21,8 +21,8 @@ jobs:
21
continue-on-error: true
22
run: |
23
git remote add gitlab "https://oauth2:${GITLAB_TOKEN}@${GITLAB_HOST}/${GITLAB_REPO}.git"
24
- git push gitlab 'refs/heads/*:refs/heads/*'
25
- git push gitlab 'refs/tags/*:refs/tags/*'
+ git push --prune gitlab 'refs/heads/*:refs/heads/*'
+ git push --prune gitlab 'refs/tags/*:refs/tags/*'
26
env:
27
GITLAB_TOKEN: ${{ secrets.GITLAB_MIRROR_TOKEN }}
28
GITLAB_HOST: ${{ vars.GITLAB_HOST }}
0 commit comments