use scp instead of sftp
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
5457546c9b
commit
26c4c1ed24
1 changed files with 12 additions and 7 deletions
19
.drone.yml
19
.drone.yml
|
@ -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: {}
|
Loading…
Reference in a new issue