don't fetch from origin if unnecessary when performing OTA deploy (#3392)
* run bundle/deploy on main pushes * don't fetch from origin if not necessary
This commit is contained in:
		
							parent
							
								
									8e882a4579
								
							
						
					
					
						commit
						eda98679df
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -46,6 +46,7 @@ jobs: | |||
|           fetch-depth: 100 | ||||
| 
 | ||||
|       - name: ⬇️ Fetch commits from base branch | ||||
|         if: ${{ github.ref != 'refs/heads/main' }} | ||||
|         run: git fetch origin main:main --depth 100 | ||||
| 
 | ||||
|       # This should get the current production release's commit's hash to see if the update is compatible | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue