mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-10-31 10:44:49 +01:00 
			
		
		
		
	Add Repository Sync Pipeline
This commit is contained in:
		
							parent
							
								
									fd066ffbce
								
							
						
					
					
						commit
						502358ab05
					
				
							
								
								
									
										19
									
								
								.ci/yuzu-repo-sync.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.ci/yuzu-repo-sync.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | ||||
| trigger: | ||||
| - master | ||||
| 
 | ||||
| jobs: | ||||
| - job: copy | ||||
|   displayName: 'Sync Repository' | ||||
|   pool: | ||||
|     vmImage: 'ubuntu-latest' | ||||
|   steps: | ||||
|   - script: echo 'https://$(GitUsername):$(GitAccessToken)@dev.azure.com' > $HOME/.git-credentials | ||||
|     displayName: 'Load Credentials' | ||||
|   - script: git config --global credential.helper store | ||||
|     displayName: 'Register Credential Helper' | ||||
|   - script: git remote add other $(GitRepoPushChangesURL) | ||||
|     displayName: 'Register Repository' | ||||
|   - script: git push --force other HEAD:$(GitPushBranch) | ||||
|     displayName: 'Update Code' | ||||
|   - script: rm -rf $HOME/.git-credentials | ||||
|     displayName: 'Clear Cached Credentials' | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user