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