Skip to content

Commit a5d8d61

Browse files
committed
ci(github-actions): remove storybook
1 parent 4c74820 commit a5d8d61

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

.github/workflows/pipeline.yml

-31
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ jobs:
2828
name: dist
2929
path: dist/
3030

31-
- name: Build storybook
32-
run: yarn build-storybook
33-
34-
- uses: actions/upload-artifact@v2
35-
with:
36-
name: storybook-static
37-
path: storybook-static/
38-
3931
deploy-dist-to-ftp:
4032
needs: check-quality-and-build
4133
runs-on: ubuntu-latest
@@ -58,26 +50,3 @@ jobs:
5850
LOCAL_DIR: dist
5951
REMOTE_DIR: /www/rc-dynamic/preview
6052
ARGS: --delete --verbose --parallel=100
61-
62-
deploy-storybook-to-ftp:
63-
needs: check-quality-and-build
64-
runs-on: ubuntu-latest
65-
if: contains(github.event.head_commit.message, 'chore(release)')
66-
name: Deploy storybook to FTP
67-
steps:
68-
- uses: actions/download-artifact@v2
69-
with:
70-
name: storybook-static
71-
path: storybook-static/
72-
73-
- name: Deploy to ftp
74-
uses: SamKirkland/[email protected]
75-
env:
76-
FTP_SERVER: ${{ secrets.FTP_SERVER }}
77-
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
78-
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
79-
METHOD: sftp
80-
PORT: ${{ secrets.FTP_PORT }}
81-
LOCAL_DIR: storybook-static
82-
REMOTE_DIR: /www/rc-dynamic/storybook
83-
ARGS: --delete --verbose --parallel=100

0 commit comments

Comments
 (0)