Skip to content

Commit fb31eb0

Browse files
committed
ci: add publish branch
1 parent 30d6da1 commit fb31eb0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ jobs:
7070
if: steps.determine_tag.outputs.tag != ''
7171
run: |
7272
echo "Publishing to ${{ steps.determine_tag.outputs.tag }} tag"
73-
pnpm publish --tag ${{ steps.determine_tag.outputs.tag }}
73+
pnpm publish --tag ${{ steps.determine_tag.outputs.tag }} --publish-branch main
7474
7575
- name: Publish to latest
7676
if: steps.determine_tag.outputs.tag == ''
7777
run: |
7878
echo "Publishing to latest"
79-
pnpm publish
79+
pnpm publish --publish-branch main

pnpm-workspace.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
packages:
22
- 'site'
33
- '.'
4-
5-
publish:
6-
branch: main

0 commit comments

Comments
 (0)