Skip to content

Commit 1941e0a

Browse files
committed
feat: upgrade build script
1 parent ab116ab commit 1941e0a

File tree

3 files changed

+773
-9
lines changed

3 files changed

+773
-9
lines changed

.github/workflows/deploy-storybook.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
pnpm build-storybook
4141
4242
- name: Deploy to Cloudflare Workers (Staging)
43+
id: deploy_staging
4344
if: github.event_name == 'pull_request'
4445
uses: cloudflare/wrangler-action@v3
4546
with:
@@ -64,5 +65,5 @@ jobs:
6465
issue_number: context.issue.number,
6566
owner: context.repo.owner,
6667
repo: context.repo.repo,
67-
body: '🚀 Storybook has been deployed to staging: https://unraid-ui-storybook-staging.unraid.workers.dev'
68+
body: '🚀 Storybook has been deployed to staging: ${{ steps.deploy_staging.outputs.deployment-url }}'
6869
})

0 commit comments

Comments
 (0)