From 5457546c9be690e4c5d971cc3f86df10d1788d4e Mon Sep 17 00:00:00 2001 From: garionion Date: Mon, 17 May 2021 18:35:13 +0200 Subject: [PATCH] add temp volume --- .drone.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 88cf44e..fa93599 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,22 +4,28 @@ type: docker steps: - name: build image: node + volumes: + - name: dist + path: /dist commands: - npm install - npm run generate - name: deploy image: cschlosser/drone-ftps + volumes: + - name: dist + path: /dist 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_SRC_DIR: /dist/ PLUGIN_DEST_DIR: /iswision.de/www/public_html/iswision2021 when: branch: - main volumes: - - name: cache + - name: dist temp: {} \ No newline at end of file