mirror of
				https://github.com/hwchase17/langchain.git
				synced 2025-10-30 23:29:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			294 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			294 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
 | |
| 
 | |
| if [[ $VERCEL_GIT_COMMIT_REF = __docs__* || "$VERCEL_GIT_COMMIT_REF" == "master" ]] ; then
 | |
|   # Proceed with the build
 | |
| 	echo "✅ - Build can proceed"
 | |
|   exit 1;
 | |
| 
 | |
| else
 | |
|   # Don't build
 | |
|   echo "🛑 - Build cancelled"
 | |
|   exit 0;
 | |
| fi
 |