Skip to content

Commit

Permalink
Fix preview deploys (#2129)
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Jun 17, 2022
1 parent f1b3e55 commit 2cc18d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-ladybugs-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Fix preview deploys
7 changes: 3 additions & 4 deletions .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ jobs:
uses: chrnorm/deployment-status@v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment_url: '${{ needs.deploy.outputs.deployment_url }}/storybook'
target_url: '${{ needs.deploy.outputs.deployment_url }}/storybook'
environment-url: '${{ needs.deploy.outputs.deployment_url }}/storybook'
state: 'success'
deployment_id: ${{ steps.storybook.outputs.deployment_id }}
deployment-id: ${{ steps.storybook.outputs.deployment_id }}

- name: Update storybook deployment status (failure)
if: failure()
uses: chrnorm/deployment-status@v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
state: 'failure'
deployment_id: ${{ steps.storybook.outputs.deployment_id }}
deployment-id: ${{ steps.storybook.outputs.deployment_id }}

0 comments on commit 2cc18d0

Please sign in to comment.