Skip to content

Commit 2cc18d0

Browse files
authored
Fix preview deploys (#2129)
1 parent f1b3e55 commit 2cc18d0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.changeset/fuzzy-ladybugs-jog.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Fix preview deploys

.github/workflows/deploy_preview.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,14 @@ jobs:
4343
uses: chrnorm/[email protected]
4444
with:
4545
token: ${{ secrets.GITHUB_TOKEN }}
46-
environment_url: '${{ needs.deploy.outputs.deployment_url }}/storybook'
47-
target_url: '${{ needs.deploy.outputs.deployment_url }}/storybook'
46+
environment-url: '${{ needs.deploy.outputs.deployment_url }}/storybook'
4847
state: 'success'
49-
deployment_id: ${{ steps.storybook.outputs.deployment_id }}
48+
deployment-id: ${{ steps.storybook.outputs.deployment_id }}
5049

5150
- name: Update storybook deployment status (failure)
5251
if: failure()
5352
uses: chrnorm/[email protected]
5453
with:
5554
token: ${{ secrets.GITHUB_TOKEN }}
5655
state: 'failure'
57-
deployment_id: ${{ steps.storybook.outputs.deployment_id }}
56+
deployment-id: ${{ steps.storybook.outputs.deployment_id }}

0 commit comments

Comments
 (0)