diff options
author | Hailey <me@haileyok.com> | 2024-04-03 16:27:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 16:27:17 -0700 |
commit | eda98679df6681f9577b512683bdb9e36db39d47 (patch) | |
tree | c96d821179fbae7891ece8f40eab1154cf6a0113 /.github/workflows | |
parent | 8e882a45794e8274a5ea54d532e38c11b712a042 (diff) | |
download | voidsky-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
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/bundle-deploy-eas-update.yml | 1 |
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 |