Skip to content

Commit c8645e0

Browse files
committed
ci: enable nightly releases
1 parent b96712c commit c8645e0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/cr.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ on:
1313
- 'art/**'
1414
- 'docs/**'
1515
- '*.md'
16+
push:
17+
branches: [main]
18+
paths-ignore:
19+
- '.github/**'
20+
- '__tests__/**'
21+
- 'art/**'
22+
- 'docs/**'
23+
- '*.md'
1624

1725
permissions: {}
1826

@@ -22,7 +30,7 @@ concurrency:
2230

2331
jobs:
2432
release:
25-
if: ${{ !github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'cr-tracked') && !contains(github.event.pull_request.labels.*.name, 'spam') && !contains(github.event.pull_request.labels.*.name, 'invalid') }}
33+
if: ${{ ((github.event_name == 'pull_request' && !github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'cr-tracked') && !contains(github.event.pull_request.labels.*.name, 'spam') && !contains(github.event.pull_request.labels.*.name, 'invalid')) || (github.event_name == 'push')) && github.repository == 'vuejs/vitepress' }}
2634
runs-on: ubuntu-latest
2735

2836
steps:

0 commit comments

Comments
 (0)