use scp instead of sftp
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
garionion 2021-05-17 19:15:18 +02:00
parent 5457546c9b
commit 26c4c1ed24
Signed by: garionion
GPG key ID: 53352FA607FA681A

View file

@ -11,21 +11,26 @@ steps:
- npm install
- npm run generate
- name: deploy
image: cschlosser/drone-ftps
image: garionion/drone-scp
volumes:
- name: dist
path: /dist
environment:
FTP_USERNAME:
SSH_KEY:
from_secret: ssh-key
USERNAME:
from_secret: username
FTP_PASSWORD:
from_secret: password
PLUGIN_HOSTNAME: web-1.fem.tu-ilmenau.de:21
PLUGIN_SRC_DIR: /dist/
PLUGIN_DEST_DIR: /iswision.de/www/public_html/iswision2021
KNOWN_HOSTS:
from_secret: known-hosts
HOSTNAME: web-1.fem.tu-ilmenau.de
DEST_DIR: '/iswision.de/www/public_html/iswision2021/'
SRC_DIR: '/dist/*'
commands:
- /bin/scp-wrap.sh
when:
branch:
- main
volumes:
- name: dist
temp: {}