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 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: {}
|
Loading…
Reference in a new issue