Gianmarco Pettinato
442821e401
Some checks reported errors
continuous-integration/drone Build was killed
25 lines
434 B
YAML
25 lines
434 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: deploy
|
|
|
|
steps:
|
|
- name: build-site
|
|
image: node:latest
|
|
commands:
|
|
- npm install
|
|
- npm run build
|
|
|
|
- name: deploy
|
|
image: cschlosser/drone-ftps
|
|
environment:
|
|
FTP_USERNAME:
|
|
from_secret: username
|
|
FTP_PASSWORD:
|
|
from_secret: password
|
|
PLUGIN_HOSTNAME:
|
|
from_secret: host
|
|
PLUGIN_DEST_DIR: /www
|
|
PLUGIN_SRC_DIR: /build
|
|
PLUGIN_EXCLUDE: (.htaccess)|(.git)
|
|
|