chore: add push to GH
This commit is contained in:
		
							parent
							
								
									a1c569c3ee
								
							
						
					
					
						commit
						15ca8a9683
					
				
							
								
								
									
										31
									
								
								.gitea/workflows/github-mirror.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								.gitea/workflows/github-mirror.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,31 @@
 | 
			
		||||
name: Go Bump
 | 
			
		||||
 | 
			
		||||
on: 
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [ "main" ]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  bump:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v3
 | 
			
		||||
      with:
 | 
			
		||||
        fetch-depth: 0
 | 
			
		||||
        fetch-tags: true
 | 
			
		||||
    
 | 
			
		||||
    - run: git config --unset-all http.https://github.com/.extraheader
 | 
			
		||||
    
 | 
			
		||||
    - name: Deploy to external repository
 | 
			
		||||
        uses: actions/github-action-push-to-another-repository@main
 | 
			
		||||
        env:
 | 
			
		||||
          API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
 | 
			
		||||
        with:
 | 
			
		||||
          # GitHub Action output files
 | 
			
		||||
          source-directory: public/
 | 
			
		||||
          destination-github-username: sour-is
 | 
			
		||||
          destination-repository-name: ev
 | 
			
		||||
          user-email: jon@xuu.cc
 | 
			
		||||
          # It defaults to `main`
 | 
			
		||||
          target-branch: "main"
 | 
			
		||||
 | 
			
		||||
    - run: echo "🍏 This job's status is ${{ job.status }}."
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user