about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-04-03 16:27:17 -0700
committerGitHub <noreply@github.com>2024-04-03 16:27:17 -0700
commiteda98679df6681f9577b512683bdb9e36db39d47 (patch)
treec96d821179fbae7891ece8f40eab1154cf6a0113
parent8e882a45794e8274a5ea54d532e38c11b712a042 (diff)
downloadvoidsky-eda98679df6681f9577b512683bdb9e36db39d47.tar.zst
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
-rw-r--r--.github/workflows/bundle-deploy-eas-update.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/bundle-deploy-eas-update.yml b/.github/workflows/bundle-deploy-eas-update.yml
index fe2bda695..6a815707e 100644
--- a/.github/workflows/bundle-deploy-eas-update.yml
+++ b/.github/workflows/bundle-deploy-eas-update.yml
@@ -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