Skip to content

Commit

Permalink
feat: Add conditional check for creating preview only on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
IZUMI-Zu committed Jul 29, 2024
1 parent 5d032ae commit 4a64606
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
run: npm install

- name: 🚀 Create preview
if: ${{ github.event_name == 'pull_request' }}
uses: expo/expo-github-action/preview@v8
with:
command: eas update --auto --branch ${{ github.event.pull_request.head.ref }}
Expand Down

0 comments on commit 4a64606

Please sign in to comment.