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
zio/stable
Hailey 2024-04-03 16:27:17 -07:00 committed by GitHub
parent 8e882a4579
commit eda98679df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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