fix(ci): only publish tag on v4 origin
This commit is contained in:
		
							parent
							
								
									265faef4e8
								
							
						
					
					
						commit
						cc5913b75c
					
				
							
								
								
									
										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 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user