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 necessaryzio/stable
parent
8e882a4579
commit
eda98679df
|
@ -46,6 +46,7 @@ jobs:
|
||||||
fetch-depth: 100
|
fetch-depth: 100
|
||||||
|
|
||||||
- name: ⬇️ Fetch commits from base branch
|
- name: ⬇️ Fetch commits from base branch
|
||||||
|
if: ${{ github.ref != 'refs/heads/main' }}
|
||||||
run: git fetch origin main:main --depth 100
|
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
|
# This should get the current production release's commit's hash to see if the update is compatible
|
||||||
|
|
Loading…
Reference in New Issue