use sftp because the server only supports sftp
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
garionion 2021-05-19 12:22:15 +02:00
parent 26c4c1ed24
commit fe64a5be79
Signed by: garionion
GPG key ID: 53352FA607FA681A

View file

@ -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