use sftp because the server only supports sftp
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
26c4c1ed24
commit
fe64a5be79
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ steps:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run generate
|
- npm run generate
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: garionion/drone-scp
|
image: garionion/drone-sftp
|
||||||
volumes:
|
volumes:
|
||||||
- name: dist
|
- name: dist
|
||||||
path: /dist
|
path: /dist
|
||||||
|
@ -26,7 +26,7 @@ steps:
|
||||||
DEST_DIR: '/iswision.de/www/public_html/iswision2021/'
|
DEST_DIR: '/iswision.de/www/public_html/iswision2021/'
|
||||||
SRC_DIR: '/dist/*'
|
SRC_DIR: '/dist/*'
|
||||||
commands:
|
commands:
|
||||||
- /bin/scp-wrap.sh
|
- /bin/sftp-wrap.sh
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
Loading…
Reference in a new issue