Skip to content

Commit fdf0ee8

Browse files
authored
build: fix storybook deploy step (#96)
1 parent a720d11 commit fdf0ee8

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/workflows.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,22 @@ jobs:
8282
env:
8383
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
8484
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
85-
deploy:
86-
name: Deploy
87-
runs-on: ubuntu-latest
88-
if: ${{ github.ref == 'refs/heads/master' }}
89-
needs: build
90-
steps:
91-
- uses: actions/checkout@v2
92-
with:
93-
ref: ${{ github.ref }}
94-
- name: Setup Node
95-
uses: actions/setup-node@v1
96-
- name: Install dependencies
97-
run: npm ci
98-
- name: Run Build
99-
run: npm run build
100-
- name: Deploy Storybook
101-
run: npm run deploy-storybook-ci
102-
end:
103-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
85+
deploy:
86+
name: Deploy
87+
runs-on: ubuntu-latest
88+
if: ${{ github.ref == 'refs/heads/master' }}
89+
needs: release
90+
steps:
91+
- uses: actions/checkout@v2
92+
with:
93+
ref: ${{ github.ref }}
94+
- name: Setup Node
95+
uses: actions/setup-node@v1
96+
- name: Install dependencies
97+
run: npm ci
98+
- name: Run Build
99+
run: npm run build
100+
- name: Deploy Storybook
101+
run: npm run deploy-storybook-ci
102+
end:
103+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)