cv-site/.drone.yml
Gianmarco Pettinato 442821e401
Some checks reported errors
continuous-integration/drone Build was killed
removed trigger
2021-12-16 12:34:05 +01:00

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)