Skip to content

Commit deb3f67

Browse files
committed
readds prune flag
1 parent 51885f3 commit deb3f67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/mirror-to-gitlab.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
continue-on-error: true
2222
run: |
2323
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/*'
24+
git push --prune gitlab 'refs/heads/*:refs/heads/*'
25+
git push --prune gitlab 'refs/tags/*:refs/tags/*'
2626
env:
2727
GITLAB_TOKEN: ${{ secrets.GITLAB_MIRROR_TOKEN }}
2828
GITLAB_HOST: ${{ vars.GITLAB_HOST }}

0 commit comments

Comments
 (0)