fix(ci): only publish tag on v4 origin
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							@@ -47,7 +47,7 @@ jobs:
 | 
			
		||||
        run: npx quartz build --bundleInfo
 | 
			
		||||
 | 
			
		||||
  publish-tag:
 | 
			
		||||
    if: ${{ github.repository == 'jackyzha0/quartz' }}
 | 
			
		||||
    if: ${{ github.repository == 'jackyzha0/quartz' && github.ref == 'refs/heads/v4' }}
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    permissions:
 | 
			
		||||
      contents: write
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user