Skip to content

Commit 45a5d8f

Browse files
committed
ci: only publish nightly releases from main
1 parent f1fcd22 commit 45a5d8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,5 @@ jobs:
126126
run: pnpm pkg-pr-new publish --compact --template './playground' ./packages/create-nuxt ./packages/nuxi ./packages/nuxt-cli
127127

128128
- name: 📦 release nightly
129-
if: github.event_name == 'push'
129+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
130130
run: node ./scripts/release-nightly.mjs

0 commit comments

Comments
 (0)