Skip to content

Commit

Permalink
fix: storybook-deployment.yml을 workflow call 되도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
suhwan2004 committed Oct 12, 2024
1 parent b2d6ad5 commit 5d0f919
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/install-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@ jobs:
run: pnpm lint

- name: Unit & Integration test
run: pnpm test
run: pnpm test

storybook-deployment:
needs: install-and-deployment
uses: ./storybook-deployment.yml
6 changes: 1 addition & 5 deletions .github/workflows/storybook-deloyment.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
name: storybook-deloyment

on:
workflow_run:
workflows: ['install-and-test']
types:
- completed
workflow_call:

jobs:
storybook-deloyment:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 5d0f919

Please sign in to comment.