Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Sep 27, 2024
1 parent e1f2f03 commit eaa5dd1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/preview-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ on:

jobs:
preview:
if: |
${{ github.repository == 'vitejs/vite' && (github.event_name == 'push' || github.event.issue.pull_request && contains(github.event.pull_request.labels.*.name, 'pr: preview')) }}
if: >
github.repository == 'vitejs/vite' &&
(github.event_name == 'push' ||
(github.event.issue.pull_request && contains(github.event.pull_request.labels.*.name, 'pr: preview')))
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit eaa5dd1

Please sign in to comment.