Skip to content

Commit

Permalink
update only called when fingerprint-diff is not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnmclean committed Jul 16, 2024
1 parent c88411f commit 8e55f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ jobs:
working-directory: apps/mobile

- name: 🚀 Update Mobile
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.fingerprint.outputs.fingerprint-diff == '[]'
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.fingerprint.outputs.fingerprint-diff != '[]'
run: cd apps/mobile && eas update --auto --non-interactive

- name: 🚀 Preview Mobile
if: github.event_name == 'pull_request' && steps.fingerprint.outputs.fingerprint-diff == '[]'
if: github.event_name == 'pull_request' && steps.fingerprint.outputs.fingerprint-diff != '[]'
uses: expo/expo-github-action/preview@v8
id: preview
with:
Expand Down

0 comments on commit 8e55f60

Please sign in to comment.