Compare commits

...

1 commit

Author SHA1 Message Date
garionion 02b608752c
use scp instead of sftp
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-05-19 11:37:28 +02:00

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:
from_secret: username
FTP_PASSWORD:
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
USERNAME:
from_secret: username
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: {}