Some checks failed
		
		
	
	Build / build (push) Has been cancelled
				
			CodeQL / Analyze (go) (push) Has been cancelled
				
			build / Build (push) Has been cancelled
				
			GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
				
			GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
				
			Issue Close Require / issue-close-require (push) Has been cancelled
				
			Issue Check Inactive / issue-check-inactive (push) Has been cancelled
				
			
		
			
				
	
	
		
			30 lines
		
	
	
		
			783 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			783 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: 'GitHub Actions Mirror'
 | |
| 
 | |
| on: [push, delete]
 | |
| 
 | |
| jobs:
 | |
|   mirror_to_gitee:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - name: 'Checkout'
 | |
|         uses: actions/checkout@v1
 | |
|       - name: 'Mirror to gitee'
 | |
|         uses: pixta-dev/repository-mirroring-action@v1
 | |
|         with:
 | |
|           target_repo_url:
 | |
|             git@gitee.com:go-admin-team/go-admin.git
 | |
|           ssh_private_key:
 | |
|             ${{ secrets.GITEE_KEY }}
 | |
|   mirror_to_gitlab:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - name: 'Checkout'
 | |
|         uses: actions/checkout@v1
 | |
|       - name: 'Mirror to gitlab'
 | |
|         uses: pixta-dev/repository-mirroring-action@v1
 | |
|         with:
 | |
|           target_repo_url:
 | |
|             git@gitlab.com:go-admin-team/go-admin.git
 | |
|           ssh_private_key:
 | |
|             ${{ secrets.GITLAB_KEY }}
 |