Skip to content

Commit ac8de4c

Browse files
frankieyanclaude
andcommitted
ci: deploy storybook on merges to main instead of tags
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 499e7c0 commit ac8de4c

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/deploy-storybook.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Deploy Storybook to Pages
22

33
on:
44
push:
5-
tags:
6-
- 'v*'
5+
branches:
6+
- main
77
workflow_dispatch:
88

99
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -13,11 +13,9 @@ permissions:
1313
id-token: write
1414
actions: read
1515

16-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
17-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1816
concurrency:
1917
group: 'pages'
20-
cancel-in-progress: false
18+
cancel-in-progress: true
2119

2220
jobs:
2321
# Single deploy job since we're just deploying

0 commit comments

Comments
 (0)