File tree 1 file changed +0
-31
lines changed
1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change 28
28
name : dist
29
29
path : dist/
30
30
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
-
39
31
deploy-dist-to-ftp :
40
32
needs : check-quality-and-build
41
33
runs-on : ubuntu-latest
58
50
LOCAL_DIR : dist
59
51
REMOTE_DIR : /www/rc-dynamic/preview
60
52
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
You can’t perform that action at this time.
0 commit comments