mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	add remote name for git push. (#2816)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
		@@ -20,18 +20,19 @@ pipeline:
 | 
				
			|||||||
    when:
 | 
					    when:
 | 
				
			||||||
      event: [ push ]
 | 
					      event: [ push ]
 | 
				
			||||||
      branch: [ master ]
 | 
					      branch: [ master ]
 | 
				
			||||||
      
 | 
					
 | 
				
			||||||
  git_push:
 | 
					  git_push:
 | 
				
			||||||
    image: appleboy/drone-git-push
 | 
					    image: appleboy/drone-git-push
 | 
				
			||||||
    pull: true
 | 
					    pull: true
 | 
				
			||||||
    secrets: [ git_push_ssh_key ]
 | 
					    secrets: [ git_push_ssh_key ]
 | 
				
			||||||
 | 
					    remote_name: origin
 | 
				
			||||||
    force: false
 | 
					    force: false
 | 
				
			||||||
    commit: true
 | 
					    commit: true
 | 
				
			||||||
    commit_message: "[skip ci] Updated translations via Crowdin"
 | 
					    commit_message: "[skip ci] Updated translations via Crowdin"
 | 
				
			||||||
    when:
 | 
					    when:
 | 
				
			||||||
      event: [ push ]
 | 
					      event: [ push ]
 | 
				
			||||||
      branch: [ master ]
 | 
					      branch: [ master ]
 | 
				
			||||||
      
 | 
					
 | 
				
			||||||
  pre-build:
 | 
					  pre-build:
 | 
				
			||||||
    image: webhippie/nodejs:latest
 | 
					    image: webhippie/nodejs:latest
 | 
				
			||||||
    pull: true
 | 
					    pull: true
 | 
				
			||||||
@@ -40,7 +41,7 @@ pipeline:
 | 
				
			|||||||
      - make stylesheets-check
 | 
					      - make stylesheets-check
 | 
				
			||||||
    when:
 | 
					    when:
 | 
				
			||||||
      event: [ push, tag, pull_request ]
 | 
					      event: [ push, tag, pull_request ]
 | 
				
			||||||
      
 | 
					
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
    image: webhippie/golang:edge
 | 
					    image: webhippie/golang:edge
 | 
				
			||||||
    pull: true
 | 
					    pull: true
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user