Skip to content

Commit f84fb59

Browse files
committed
ci: add promote-latest action to publish workflow
1 parent defcc29 commit f84fb59

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
options:
1414
- publish-next
1515
- publish-latest
16+
- promote-latest
1617
default: publish-next
1718

1819
concurrency:
@@ -57,6 +58,8 @@ jobs:
5758
run: |
5859
if [ "${{ steps.channel.outputs.action }}" = "publish-next" ]; then
5960
bun run publish:next
61+
elif [ "${{ steps.channel.outputs.action }}" = "promote-latest" ]; then
62+
bun run promote:latest
6063
else
6164
bun run publish
6265
fi

0 commit comments

Comments
 (0)