iswision-web/.drone.yml
2021-05-17 18:20:36 +02:00

25 lines
529 B
YAML

kind: pipeline
name: default
type: docker
steps:
- name: build
image: node
commands:
- npm install
- npm run generate
- name: deploy
image: cschlosser/drone-ftps
environment:
FTP_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
when:
branch:
- main
volumes:
- name: cache
temp: {}