mirror of
https://github.com/tiennm99/tiennm99.github.io.git
synced 2026-08-18 06:26:53 +00:00
fix: mirror
This commit is contained in:
@@ -16,6 +16,12 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Prepare repository for mirroring
|
||||
run: |
|
||||
git branch -r | grep 'origin/' | grep -v 'origin/HEAD' | while read remote; do
|
||||
git branch --delete --remotes "$remote"
|
||||
done
|
||||
|
||||
- name: Mirror to GitLab
|
||||
uses: pixta-dev/repository-mirroring-action@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user