Added mirror
This commit is contained in:
		
							
								
								
									
										17
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					name: Workflow
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on: [push]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  mirror:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					    - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        fetch-depth: 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - uses: yesolutions/mirror-action@master
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        REMOTE: 'https://git.popov.link/moodle/tool_managertokens.git'
 | 
				
			||||||
 | 
					        GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
 | 
				
			||||||
 | 
					        GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user